Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/fcntl.h
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | |||||
/* Defined by POSIX 1003.1-2008; BSD default, but reserve for future use. */ | /* Defined by POSIX 1003.1-2008; BSD default, but reserve for future use. */ | ||||
#define O_TTY_INIT 0x00080000 /* Restore default termios attributes */ | #define O_TTY_INIT 0x00080000 /* Restore default termios attributes */ | ||||
#define O_CLOEXEC 0x00100000 | #define O_CLOEXEC 0x00100000 | ||||
#endif | #endif | ||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
#define O_VERIFY 0x00200000 /* open only after verification */ | #define O_VERIFY 0x00200000 /* open only after verification */ | ||||
#define O_BENEATH 0x00400000 /* stay beneath a specified directory */ | |||||
#endif | #endif | ||||
/* | /* | ||||
* XXX missing O_DSYNC, O_RSYNC. | * XXX missing O_DSYNC, O_RSYNC. | ||||
*/ | */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
/* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */ | /* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */ | ||||
▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines |