From: cpg Date: Fri, 11 Aug 2000 21:34:28 +0000 (+0000) Subject: added file positioning functions (fseek etc.) X-Git-Tag: V2.12.0~3250 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3412342249ad09394daeefa40bfaed0eaff01196;p=cc65 added file positioning functions (fseek etc.) git-svn-id: svn://svn.cc65.org/cc65/trunk@270 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/stdio.h b/include/stdio.h index e94d65459..d4142beee 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -87,6 +87,11 @@ int fputs (const char* s, 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); 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); char* gets (char* s); void perror (const char* s);