1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 19:55:09 +00:00

Added a creat macro

git-svn-id: svn://svn.cc65.org/cc65/trunk@1897 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-01-09 12:00:51 +00:00
parent fb81235769
commit 1b44423614

View File

@ -65,6 +65,9 @@ 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);
/* Macros */
#define creat(name, mode) open (name, O_WRONLY | O_CREAT | O_TRUNC, mode)
/* End of fcntl.h */