File System Component  Version 6.15.0
MDK Middleware for Devices with Flash File System
stdio.h File Reference

Functions

int fclose (FILE *stream)
 Close file stream. More...
 
int fflush (FILE *stream)
 Flush file stream. More...
 
FILE * fopen (const char *filename, const char *mode)
 Open file stream. More...
 
FILE * freopen (const char *filename, const char *mode, FILE *stream)
 Reopen file stream. More...
 
void setbuf (FILE *stream, char *buf)
 Buffer stream. More...
 
int setvbuf (FILE *stream, char *buf, int mode, size_t size)
 Buffer stream. More...
 
int fprintf (FILE *stream, const char *format,...)
 Write formatted string to file stream.
More...
 
int fscanf (FILE *stream, const char *format,...)
 Read formatted string from file stream. More...
 
int vfscanf (FILE *stream, const char *format, va_list arg)
 
int vfprintf (FILE *stream, const char *format, va_list arg)
 
int fgetc (FILE *stream)
 Read character from file stream.
More...
 
char * fgets (char *s, int n, FILE *stream)
 Read string from file stream. More...
 
int fputc (int c, FILE *stream)
 Write character to file stream. More...
 
int fputs (const char *s, FILE *stream)
 Write string to file stream. More...
 
int getc (FILE *stream)
 Read character from file stream (unsafe).
More...
 
int putc (int c, FILE *stream)
 Write character to file stream (unsafe). More...
 
int ungetc (int c, FILE *stream)
 Stores a character into an input file stream. More...
 
size_t fread (void *ptr, size_t size, size_t nmemb, FILE *stream))
 Read number of bytes from file stream. More...
 
size_t fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream))
 Write number of bytes to file stream.
More...
 
int fgetpos (FILE *stream, fpos_t *pos)
 Store current value of file position indicator.
More...
 
int fseek (FILE *stream, long int offset, int whence)
 Move file stream's in-file pointer to new location. More...
 
int fsetpos (FILE *stream, const fpos_t *pos)
 Set file position indicator.
More...
 
long int ftell (FILE *stream)
 Get current location of stream's in-file pointer. More...
 
void rewind (FILE *stream)
 Move file stream's in-file pointer to beginning of file. More...
 
void clearerr (FILE *stream)
 Clear end-of-file and error indicators. More...
 
int feof (FILE *stream)
 Report whether end of stream has been reached. More...
 
int ferror (FILE *stream)
 Report whether there is an error in file stream. More...