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