diff options
Diffstat (limited to 'lib/sys/creat.h')
| -rw-r--r-- | lib/sys/creat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/creat.h b/lib/sys/creat.h new file mode 100644 index 0000000..9c6e492 --- /dev/null +++ b/lib/sys/creat.h @@ -0,0 +1,11 @@ +#ifndef CREAT_H +#define CREAT_H + +#include "syscalls.h" + +int creat(const char *pathname, unsigned int mode) +{ + return syscall(CREAT, pathname, mode); +} + +#endif |