Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/fcntl.h
| Show First 20 Lines • Show All 254 Lines • ▼ Show 20 Lines | |||||
| #endif /* __POSIX_VISIBLE >= 200809 */ | #endif /* __POSIX_VISIBLE >= 200809 */ | ||||
| #if __BSD_VISIBLE | #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 */ | ||||
| #define AT_EMPTY_PATH 0x4000 /* Operate on dirfd if path is empty */ | #define AT_EMPTY_PATH 0x4000 /* Operate on dirfd if path is empty */ | ||||
| #define AT_RENAME_NOREPLACE 0x0001 /* Fail rename if target exists */ | #define AT_RENAME_NOREPLACE 0x0001 /* Fail rename if target exists */ | ||||
| #define AT_RENAME_EXCHANGE 0x0002 /* */ | |||||
emaste: Perhaps `/* Atomically exchange from and to */` | |||||
| #define RENAME_NOREPLACE AT_RENAME_NOREPLACE | #define RENAME_NOREPLACE AT_RENAME_NOREPLACE | ||||
| #define RENAME_EXCHANGE AT_RENAME_EXCHANGE | |||||
| #endif /* __BSD_VISIBLE */ | #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 */ | ||||
| ▲ Show 20 Lines • Show All 169 Lines • Show Last 20 Lines | |||||
Perhaps /* Atomically exchange from and to */