Lines Matching refs:open
74 * This file includes the definitions for open and fcntl
103 * File status flags: these are used by open(2), fcntl(2).
105 * which is a superset of the open/fcntl flags. Open flags and f_flags
109 /* open-only flags */
110 #define O_RDONLY 0x0000 /* open for reading only */
111 #define O_WRONLY 0x0001 /* open for writing only */
112 #define O_RDWR 0x0002 /* open for reading and writing */
116 * Kernel encoding of open mode; separate read and write bits that are
131 #define O_SHLOCK 0x0010 /* open with shared file lock */
132 #define O_EXLOCK 0x0020 /* open with exclusive file lock */
162 #define O_SYMLINK 0x200000 /* allow open of a symlink */
168 /* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */
172 /* bits to save after open */
235 #define F_OPENFROM 56 /* SPI: open a file relative to fd (must be a dir) */
236 #define F_UNLINKFROM 57 /* SPI: open a file relative to fd (must be a dir) */
445 #define O_POPUP 0x80000000 /* force window to popup on open */
453 unsigned int o_flags; /* same as open(2) */
454 mode_t o_mode; /* same as open(2) */
502 int open(const char *, int, ...) __DARWIN_ALIAS_C(open);