Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/fcntl.h
Show First 20 Lines • Show All 213 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Miscellaneous flags for the *at() syscalls. | * Miscellaneous flags for the *at() syscalls. | ||||
*/ | */ | ||||
#define AT_EACCESS 0x0100 /* Check access using effective user | #define AT_EACCESS 0x0100 /* Check access using effective user | ||||
and group ID */ | and group ID */ | ||||
#define AT_SYMLINK_NOFOLLOW 0x0200 /* Do not follow symbolic links */ | #define AT_SYMLINK_NOFOLLOW 0x0200 /* Do not follow symbolic links */ | ||||
#define AT_SYMLINK_FOLLOW 0x0400 /* Follow symbolic link */ | #define AT_SYMLINK_FOLLOW 0x0400 /* Follow symbolic link */ | ||||
#define AT_REMOVEDIR 0x0800 /* Remove directory instead of file */ | #define AT_REMOVEDIR 0x0800 /* Remove directory instead of file */ | ||||
#endif /* __POSIX_VISIBLE >= 200809 */ | |||||
#if __BSD_VISIBLE | |||||
/* #define AT_UNUSED1 0x1000 *//* Was AT_BENEATH */ | /* #define AT_UNUSED1 0x1000 *//* Was AT_BENEATH */ | ||||
#define AT_RESOLVE_BENEATH 0x2000 /* Do not allow name resolution | #define AT_RESOLVE_BENEATH 0x2000 /* Do not allow name resolution | ||||
to walk out of dirfd */ | to walk out of dirfd */ | ||||
#endif | #define AT_EMPTY_PATH 0x4000 /* Operate on dirfd if path is empty */ | ||||
#endif /* __BSD_VISIBLE */ | |||||
/* | /* | ||||
* Constants used for fcntl(2) | * Constants used for fcntl(2) | ||||
*/ | */ | ||||
/* command values */ | /* command values */ | ||||
#define F_DUPFD 0 /* duplicate file descriptor */ | #define F_DUPFD 0 /* duplicate file descriptor */ | ||||
#define F_GETFD 1 /* get file descriptor flags */ | #define F_GETFD 1 /* get file descriptor flags */ | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |