From 3412342249ad09394daeefa40bfaed0eaff01196 Mon Sep 17 00:00:00 2001 From: cpg Date: Fri, 11 Aug 2000 21:34:28 +0000 Subject: [PATCH] added file positioning functions (fseek etc.) git-svn-id: svn://svn.cc65.org/cc65/trunk@270 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/stdio.h | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.39.5