#ifndef _S_INCLUDED #define _S_INCLUDED #include <_macros.h> #include <_S_lowlvl.h> typedef struct _S_FILE { /* what do we need here */ } FILE; #define _IOFBF 0 #define _IOLBF 1 #define _IONBF 2 #define BUFSIZ 512 #define EOF (-1) #define FOPEN_MAX ... #define FILENAME_MAX ... #define TMP_MAX ... #define SEEK_SET 0 #define SEEK_CUR 1 #define SEEK_END 2 #define stdin ... #define stdout ... #define stderr ... void clearerr(FILE *); int fclose(FILE *); int feof(FILE *); int ferror(FILE *); int fflush(FILE *); int fgetc(FILE *); int fgetpos(FILE * restrict, fpos_t * restrict); char *fgets(char * restrict, int, FILE * restrict); FILE *fopen(const char * restrict, const char * restrict); int fprintf(FILE * restrict, const char * restrict, ...); int fputc(int, FILE *); int fputs(const char * restrict, FILE * restrict); size_t fread(void * restrict, size_t, size_t, FILE * restrict); FILE *freopen(const char * restrict, const char * restrict, FILE * restrict); int fscanf(FILE * restrict, const char * restrict, ...); int fseek(FILE *, long, int); int fsetpos(FILE *, const fpos_t *); long ftell(FILE *); size_t fwrite(const void * restrict, size_t, size_t, FILE * restrict); int getc(FILE *); int getchar(void); char *gets(char *); void perror(const char *); int printf(const char * restrict, ...); int putc(int, FILE *); int putchar(int); int puts(const char *); int remove(const char *); int rename(const char *, const char *); void rewind(FILE *); int scanf(const char * restrict, ...); void setbuf(FILE * restrict, char * restrict); int setvbuf(FILE * restrict, char * restrict, int, size_t); int sprintf(char * restrict, const char * restrict, ...); int sscanf(const char * restrict, const char * restrict, ...); FILE *tmpfile(void); char *tmpnam(char *); int ungetc(int, FILE *); int vfprintf(FILE * restrict, const char * restrict, va_list); int vprintf(const char * restrict, va_list); int vsprintf(char * restrict, const char * restrict, va_list); #if __WANT_C >= 199901l int snprintf(char * restrict, size_t, const char * restrict, ...); int vfscanf(FILE * restrict, const char * restrict, va_list); int vscanf(const char * restrict, va_list); int vsnprintf(char * restrict, size_t, const char * restrict, va_list); int vsscanf(const char * restrict, const char * restrict, va_list); #endif #ENDIF