1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #pragma once
- #define O_RDONLY 00000000
- #define O_WRONLY 00000001
- #define O_RDWR 00000002
- #define O_ACCMODE 00000003
- #define O_CREAT 00000100
- #define O_EXCL 00000200
- #define O_NOCTTY 00000400
- #define O_TRUNC 00001000
- #define O_APPEND 00002000
- #define O_NONBLOCK 00004000
- #define O_EXEC 00010000
- #define O_SEARCH 00020000
- #define O_DIRECTORY 00040000
- #define O_NOFOLLOW 00100000
- #define AT_FDCWD -100
- #define AT_SYMLINK_NOFOLLOW 0x100
- #define AT_EACCESS 0x200
- #define AT_REMOVEDIR 0x200
- #define AT_SYMLINK_FOLLOW 0x400
- #define AT_NO_AUTOMOUNT 0x800
- #define AT_EMPTY_PATH 0x1000
- #define AT_STATX_SYNC_TYPE 0x6000
- #define AT_STATX_SYNC_AS_STAT 0x0000
- #define AT_STATX_FORCE_SYNC 0x2000
- #define AT_STATX_DONT_SYNC 0x4000
- #define AT_RECURSIVE 0x8000
- int open(const char * path, int options, ...);
|