Added a creat macro
git-svn-id: svn://svn.cc65.org/cc65/trunk@1897 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
fb81235769
commit
1b44423614
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue