File System Component  Version 6.9.4
MDK Middleware for Devices with Flash File System
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
stdio.h
Go to the documentation of this file.
1 /* Dummy stdio.h file that is necessary to have the functions documented in the Reference section */
2 /* of the File System Component */
3 
9 extern int fclose(FILE * stream);
10 
15 extern int fflush(FILE * stream);
16 
22 extern FILE *fopen(const char * filename, const char * mode);
23 
24 
31 extern FILE *freopen(const char * filename, const char * mode, FILE * stream);
32 
33 
37 extern void setbuf(FILE * stream, char * buf);
38 
39 
49 extern int setvbuf(FILE * stream, char * buf, int mode, size_t size);
50 
57 extern int fprintf(FILE * stream, const char * format, ...);
58 
59 
64 extern int fscanf(FILE * stream, const char * format, ...);
65 
66 
70 extern int vfscanf(FILE * stream, const char * format, va_list arg);
71 
72 
76 extern int vfprintf(FILE * stream, const char * format, va_list arg);
77 
78 
84 extern int fgetc(FILE * stream);
85 
93 extern char *fgets(char * s, int n, FILE * stream);
94 
101 extern int fputc(int c, FILE * stream);
102 
109 extern int fputs(const char * s, FILE * stream);
110 
116 extern int getc(FILE * stream);
117 
118 
125 extern int putc(int c, FILE * stream);
126 
127 
134 extern int ungetc(int c, FILE * stream);
135 
145 extern size_t fread(void * ptr, size_t size, size_t nmemb, FILE * stream));
146 
154 extern size_t fwrite(const void * ptr, size_t size, size_t nmemb, FILE * stream));
155 
156 
164 extern int fgetpos(FILE * stream, fpos_t * pos);
165 
173 extern int fseek(FILE * stream, long int offset, int whence);
174 
175 
183 extern int fsetpos(FILE * stream, const fpos_t * pos);
184 
190 extern long int ftell(FILE * stream);
191 
195 extern void rewind(FILE * stream);
196 
197 
201 extern void clearerr(FILE * stream);
202 
208 extern int feof(FILE * stream);
209 
215 extern int ferror(FILE * stream);
216 /* end of dummy stdio.h */
int fscanf(FILE *stream, const char *format,...)
Read formatted string from file stream.
FILE * freopen(const char *filename, const char *mode, FILE *stream)
Reopen file stream.
int getc(FILE *stream)
Read character from file stream (unsafe).
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream))
Write number of bytes to file stream.
int fprintf(FILE *stream, const char *format,...)
Write formatted string to file stream.
int fputc(int c, FILE *stream)
Write character to file stream.
char * fgets(char *s, int n, FILE *stream)
Read string from file stream.
int fgetpos(FILE *stream, fpos_t *pos)
Store current value of file position indicator.
int vfscanf(FILE *stream, const char *format, va_list arg)
int feof(FILE *stream)
Report whether end of stream has been reached.
int setvbuf(FILE *stream, char *buf, int mode, size_t size)
Buffer stream.
int fseek(FILE *stream, long int offset, int whence)
Move file stream's in-file pointer to new location.
int fgetc(FILE *stream)
Read character from file stream.
int fsetpos(FILE *stream, const fpos_t *pos)
Set file position indicator.
long int ftell(FILE *stream)
Get current location of stream's in-file pointer.
int vfprintf(FILE *stream, const char *format, va_list arg)
FILE * fopen(const char *filename, const char *mode)
Open file stream.
int putc(int c, FILE *stream)
Write character to file stream (unsafe).
int fflush(FILE *stream)
Flush file stream.
void rewind(FILE *stream)
Move file stream's in-file pointer to beginning of file.
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream))
Read number of bytes from file stream.
int fputs(const char *s, FILE *stream)
Write string to file stream.
int ungetc(int c, FILE *stream)
Stores a character into an input file stream.
int ferror(FILE *stream)
Report whether there is an error in file stream.
int fclose(FILE *stream)
Close file stream.
void clearerr(FILE *stream)
Clear end-of-file and error indicators.
void setbuf(FILE *stream, char *buf)
Buffer stream.