2021-01-25 12:35:32 -08:00
|
|
|
|
|
|
|
typedef struct _iobuf
|
|
|
|
{
|
|
|
|
char* _ptr;
|
|
|
|
int _cnt;
|
|
|
|
char* _base;
|
|
|
|
int _flag;
|
|
|
|
int _file;
|
|
|
|
int _charbuf;
|
|
|
|
int _bufsiz;
|
|
|
|
char* _tmpfname;
|
|
|
|
} FILE;
|
|
|
|
|
|
|
|
FILE *stdin;
|
|
|
|
|
2021-02-15 11:44:39 -08:00
|
|
|
FILE *fopen(const char *filename, const char *mode);
|
|
|
|
|
2021-01-25 12:35:32 -08:00
|
|
|
int ungetc(int ch, FILE *stream);
|
|
|
|
|