Searched refs:O_DIRECTORY (Results 1 – 8 of 8) sorted by relevance
58 #ifndef O_DIRECTORY59 #define O_DIRECTORY 00200000 macro80 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)81 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
21 #define O_DIRECTORY 040000 macro
90 int proc_fd = open("/proc", O_DIRECTORY); in TEST()131 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST()141 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST()
58 MACRO(O_DIRECTORY); in fcntl_h()
103 int dir_fd = openat(parent_fd, dir_name, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in scandirat()
103 int fd = open(path, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in opendir()
1021 if (fd < 0 && (newfd = open(path, O_RDONLY|O_DIRECTORY|O_CLOEXEC, 0)) < 0) in fts_safe_changedir()