From 6fe95eb3c330d2086b9650afdc7837ab0f56f428 Mon Sep 17 00:00:00 2001 From: cpg Date: Fri, 11 Aug 2000 21:37:44 +0000 Subject: [PATCH] added off_t type and lseek() prototype git-svn-id: svn://svn.cc65.org/cc65/trunk@271 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/fcntl.h | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5