diff options
| author | hachem <im@hachem.wtf> | 2026-10-12 23:08:48 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-12 23:08:48 +0200 |
| commit | 6a5543bb8f1f535ca49737bcd7be0cafca3b2a08 (patch) | |
| tree | bb137b732a1d122aeace46c550733f4793d84601 /sysroot/usr/include/fcntl.h | |
| parent | 59794d0b999e544a94230d9562bf2b99d2ed74c7 (diff) | |
Diffstat (limited to 'sysroot/usr/include/fcntl.h')
| -rw-r--r-- | sysroot/usr/include/fcntl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysroot/usr/include/fcntl.h b/sysroot/usr/include/fcntl.h new file mode 100644 index 0000000..4c9dc07 --- /dev/null +++ b/sysroot/usr/include/fcntl.h @@ -0,0 +1,12 @@ +#ifndef _FCNTL_H +#define _FCNTL_H + +#define O_RDONLY 0 +#define O_WRONLY 1 +#define O_CREAT 0x40 +#define O_TRUNC 0x200 +#define O_APPEND 0x400 + +int open(const char* path, int flags); + +#endif |
