Wednesday, November 30, 2016

C Formatted input output Functions

Formatted input/output Functions:
scanf int scanf( const char * format, ... );
fscanf int fscanf( FILE * stream, const char * format, ... );
sscanf int sscanf( const char * buffer, const char * format, ... );
scanf_s(C11) int scanf_s(const char * restrict format, ...);
fscanf_s(C11) int fscanf_s(FILE * restrict stream, const char * restrict format, ...);
sscanf_s(C11) int sscanf_s(const char * restrict buffer, const char * restrict format, ...);
vscanf(C99) int vscanf( const char * restrict format, va_list arg );
vfscanf(C99) int vfscanf( FILE * restrict stream, const char * restrict format, va_list arg);
vsscanf(C99) int vsscanf( const char * restrict buffer, const char * restrict format, va_list arg);
vscanf_s(C11) int vscanf_s(const char * restrict format, va_list arg);
vfscanf_s(C11) int vfscanf_s( FILE * restrict stream, const char * restrict format, va_list arg);
vsscanf_s(C11) int vsscanf_s( const char * restrict buffer, const char * restrict format, va_list arg);
printf int printf( const char * format, ... );
fprintf int fprintf( FILE * stream, const char * format, ... );
sprintf int sprintf( char *buffer, const char * format, ... );
snprintf(C99) int snprintf( char *restrict buffer, int bufsz, const char * restrict format, ... );
printf_s(C11) int printf_s(const char * restrict format, ...);
fprintf_s(C11) int fprintf_s(FILE * restrict stream, const char * restrict format, ...);
sprintf_s(C11) int sprintf_s(char *restrict buffer, rsize_t bufsz, const char * restrict format, ...);
snprintf_s(C11) int snprintf_s(char *restrict buffer, rsize_t bufsz, const char * restrict format, ...);
vprintf int vprintf( const char * format, va_list arg);
vfprintf int vfprintf( FILE * stream, const char * format, va_list arg);
vsprintf int vsprintf( char *buffer, const char * format, va_list arg);
vsnprintf(C99) int vsnprintf( char *restrict buffer, int bufsz, const char * restrict format, va_list arg);
vprintf_s(C11) int vprintf_s( const char * restrict format, va_list arg);
vfprintf_s(C11) int vfprintf_s( FILE * restrict stream, const char * restrict format, va_list arg);
vsprintf_s(C11) int vsprintf_s( char *restrict buffer, rsize_t bufsz, const char * restrict format, va_list arg);
vsnprintf_s(C11) int vsnprintf_s(char *restrict buffer, rsize_t bufsz, const char * restrict format, va_list arg);

stdio.h
Operations on files Function
File Access Functions
Formatted input/output Functions
Character input/output Functions
Direct input/output Functions
File positioning Functions
Error-handling Functions


Related topics:
Library Functions in C   |   Standard Library in C   |   Header Files in C   |   Functions in C   |   Keywords in C   |   Data Types in C   |   Pointers in C

List of topics: C Programming

No comments:

Post a Comment