added off_t type and lseek() prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@271 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -47,6 +47,9 @@
|
|||||||
#define O_APPEND 0x40
|
#define O_APPEND 0x40
|
||||||
|
|
||||||
|
|
||||||
|
/* types */
|
||||||
|
typedef long int off_t;
|
||||||
|
|
||||||
|
|
||||||
/* Functions */
|
/* Functions */
|
||||||
int open (const char* name, int flags, ...); /* May take a mode argument */
|
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 read (int fd, void* buf, unsigned count);
|
||||||
int mkdir (const char* name, ...); /* May take a mode argument */
|
int mkdir (const char* name, ...); /* May take a mode argument */
|
||||||
int rmdir (const char* name);
|
int rmdir (const char* name);
|
||||||
|
off_t __fastcall__ lseek(int fd, off_t offset, int whence);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user