1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00

added file positioning functions (fseek etc.)

git-svn-id: svn://svn.cc65.org/cc65/trunk@270 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2000-08-11 21:34:28 +00:00
parent ebed04f6b2
commit 3412342249

View File

@ -87,6 +87,11 @@ int fputs (const char* s, FILE* f);
size_t fread (void* buf, size_t size, size_t count, FILE* f); size_t fread (void* buf, size_t size, size_t count, FILE* f);
FILE* freopen (const char* name, const char* mode, FILE* f); FILE* freopen (const char* name, const char* mode, FILE* f);
size_t fwrite (const void* buf, size_t size, size_t count, FILE* f); size_t fwrite (const void* buf, size_t size, size_t count, FILE* f);
int fgetpos(FILE* f, fpos_t *pos);
int fsetpos(FILE* f, const fpos_t* pos);
long ftell(FILE* f);
int fseek(FILE* f, long offset, int whence);
void rewind(FILE *f);
int getchar (void); int getchar (void);
char* gets (char* s); char* gets (char* s);
void perror (const char* s); void perror (const char* s);