mirror of
https://github.com/cc65/cc65.git
synced 2025-02-24 09:29:07 +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:
parent
fb81235769
commit
1b44423614
@ -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…
x
Reference in New Issue
Block a user