12 typedef struct sFILE FILE;
14 /* === CONSTANTS === */
18 /* --- Standard IO --- */
19 extern int printf(const char *format, ...);
20 extern int vsnprintf(char *buf, size_t __maxlen, const char *format, va_list args);
21 extern int vsprintf(char *buf, const char *format, va_list args);
22 extern int sprintf(char *buf, const char *format, ...);
23 extern int snprintf(char *buf, size_t maxlen, const char *format, ...);
25 extern FILE *fopen(const char *file, const char *mode);
26 extern FILE *freopen(const char *file, const char *mode, FILE *fp);
27 extern FILE *fdopen(int fd, const char *modes);
28 extern int fclose(FILE *fp);
29 extern void fflush(FILE *fp);
30 extern off_t ftell(FILE *fp);
31 extern int fseek(FILE *fp, long int amt, int whence);
33 extern size_t fread(void *buf, size_t size, size_t n, FILE *fp);
34 extern size_t fwrite(void *buf, size_t size, size_t n, FILE *fp);
35 extern int fgetc(FILE *fp);
36 extern int fputc(int ch, FILE *fp);
37 extern int getchar(void);
38 extern int putchar(int ch);
40 extern int fprintf(FILE *fp, const char *format, ...);
41 extern int vfprintf(FILE *fp, const char *format, va_list args);