Searched refs:open_flags (Results 1 – 3 of 3) sorted by relevance
/coreutils/src/ |
D | sync.c | 91 int open_flags = O_RDONLY | O_NONBLOCK; in sync_arg() local 97 open_flags = O_WRONLY | O_NONBLOCK; in sync_arg() 102 fd = open (file, open_flags); in sync_arg() 108 if (open_flags != (O_WRONLY | O_NONBLOCK)) in sync_arg()
|
D | chown-core.c | 236 int open_flags = O_NONBLOCK | O_NOCTTY; in restricted_chown() local 245 open_flags |= O_DIRECTORY; in restricted_chown() 250 fd = openat (cwd_fd, file, O_RDONLY | open_flags); in restricted_chown() 253 && 0 <= (fd = openat (cwd_fd, file, O_WRONLY | open_flags))))) in restricted_chown()
|
D | copy.c | 1286 int open_flags = in copy_reg() local 1288 dest_desc = openat (dst_dirfd, dst_relname, open_flags); in copy_reg() 1452 int open_flags = O_WRONLY | O_CREAT | O_BINARY; in copy_reg() local 1453 dest_desc = openat (dst_dirfd, dst_relname, open_flags | O_EXCL, in copy_reg() 1475 open_flags, open_mode); in copy_reg()
|