From: cpg Date: Fri, 11 Aug 2000 21:37:44 +0000 (+0000) Subject: added off_t type and lseek() prototype X-Git-Tag: V2.12.0~3249 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6fe95eb3c330d2086b9650afdc7837ab0f56f428;p=cc65 added off_t type and lseek() prototype git-svn-id: svn://svn.cc65.org/cc65/trunk@271 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/fcntl.h b/include/fcntl.h index b1902c08d..76fe91d6b 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -47,6 +47,9 @@ #define O_APPEND 0x40 +/* types */ +typedef long int off_t; + /* Functions */ int open (const char* name, int flags, ...); /* May take a mode argument */ @@ -55,6 +58,7 @@ int write (int fd, const void* buf, unsigned count); int read (int fd, void* buf, unsigned count); int mkdir (const char* name, ...); /* May take a mode argument */ int rmdir (const char* name); +off_t __fastcall__ lseek(int fd, off_t offset, int whence);