O_WRONLY 528 daemons/pacemakerd/pcmkd_subdaemons.c pcmk__open_devnull(O_WRONLY); // stdout (fd 1) O_WRONLY 529 daemons/pacemakerd/pcmkd_subdaemons.c pcmk__open_devnull(O_WRONLY); // stderr (fd 2) O_WRONLY 241 lib/common/pid.c fd = open(filename, O_CREAT | O_WRONLY | O_EXCL, 0644); O_WRONLY 432 lib/common/utils.c pcmk__open_devnull(O_WRONLY); // stdout (fd 1) O_WRONLY 435 lib/common/utils.c pcmk__open_devnull(O_WRONLY); // stderr (fd 2) O_WRONLY 94 maint/gnulib/lib/chown.c && 0 <= (fd = open (file, O_WRONLY | open_flags)))) O_WRONLY 69 maint/gnulib/lib/copy-file.c O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_CLOEXEC, O_WRONLY 378 maint/gnulib/lib/fcntl.in.h #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) O_WRONLY 380 maint/gnulib/lib/fcntl.in.h # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) O_WRONLY 88 maint/gnulib/lib/fopen.c open_direction = O_WRONLY; O_WRONLY 96 maint/gnulib/lib/fopen.c open_direction = O_WRONLY; O_WRONLY 62 maint/gnulib/lib/fwritable.c return (flags == O_WRONLY || flags == O_RDWR); O_WRONLY 119 maint/gnulib/lib/open.c || (flags & O_ACCMODE) == O_WRONLY) O_WRONLY 105 maint/gnulib/lib/openat.c || (flags & O_ACCMODE) == O_WRONLY) O_WRONLY 249 maint/gnulib/lib/spawn-pipe.c || (stdoutfd = open (prog_stdout, O_WRONLY, 0)) >= 0)) O_WRONLY 381 maint/gnulib/lib/spawn-pipe.c || ((stdoutfd = open (prog_stdout, O_WRONLY, 0)) >= 0 O_WRONLY 518 maint/gnulib/lib/spawn-pipe.c prog_stdout, O_WRONLY, O_WRONLY 279 maint/gnulib/lib/spawni.c ((flags & (O_WRONLY | O_RDWR)) != 0 O_WRONLY 50 maint/gnulib/lib/stdopen.c int mode = fd == STDIN_FILENO ? O_WRONLY : O_RDONLY; O_WRONLY 413 maint/gnulib/lib/supersede.c open_direction = O_WRONLY; O_WRONLY 417 maint/gnulib/lib/supersede.c open_direction = O_WRONLY; O_WRONLY 64 maint/gnulib/lib/truncate.c fd = open (filename, O_WRONLY | O_TRUNC | O_CLOEXEC); O_WRONLY 70 maint/gnulib/lib/truncate.c fd = open (filename, O_WRONLY | O_CLOEXEC); O_WRONLY 55 maint/gnulib/tests/test-copy-acl.c fd2 = open (file2, O_WRONLY, 0600); O_WRONLY 177 maint/gnulib/tests/test-dup2.c ASSERT (open ("/dev/null", O_WRONLY, 0600) == fd + 1); O_WRONLY 155 maint/gnulib/tests/test-dup3.c ASSERT (open ("/dev/null", O_WRONLY, 0600) == fd + 1); O_WRONLY 412 maint/gnulib/tests/test-execute-main.c int fd_out = open (BASE ".tmp", O_WRONLY | O_APPEND); O_WRONLY 51 maint/gnulib/tests/test-faccessat.c ASSERT (close (open (BASE "file", O_CREAT | O_WRONLY, 0)) == 0); O_WRONLY 56 maint/gnulib/tests/test-fcntl-h.c case O_WRONLY: O_WRONLY 64 maint/gnulib/tests/test-fcntl-h.c i = ! (~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)); O_WRONLY 60 maint/gnulib/tests/test-fdatasync.c fd = open (file, O_WRONLY|O_CREAT|O_TRUNC, 0644); O_WRONLY 53 maint/gnulib/tests/test-fdutimensat.c int fd = openat (dfd, name, O_WRONLY); O_WRONLY 60 maint/gnulib/tests/test-fsync.c fd = open (file, O_WRONLY|O_CREAT|O_TRUNC, 0644); O_WRONLY 132 maint/gnulib/tests/test-fts.c fd = open (buf, O_WRONLY | O_CREAT, 0666); O_WRONLY 64 maint/gnulib/tests/test-isatty.c fd = open (file, O_WRONLY|O_CREAT|O_TRUNC, 0644); O_WRONLY 31 maint/gnulib/tests/test-link.h fd = open (BASE "a", O_CREAT | O_EXCL | O_WRONLY, 0600); O_WRONLY 76 maint/gnulib/tests/test-link.h fd = open (BASE "b", O_APPEND | O_WRONLY); O_WRONLY 69 maint/gnulib/tests/test-open.h ASSERT (func (".", O_WRONLY) == -1); O_WRONLY 80 maint/gnulib/tests/test-open.h fd = func ("/dev/null", O_WRONLY); O_WRONLY 60 maint/gnulib/tests/test-openat-safer.c fd = openat (dfd, witness, O_WRONLY | O_CREAT | O_EXCL, 0600); O_WRONLY 101 maint/gnulib/tests/test-openat-safer.c fd = openat (-1, "/dev/null", O_WRONLY); O_WRONLY 44 maint/gnulib/tests/test-pread.c fd = open (file, O_CREAT | O_WRONLY, 0600); O_WRONLY 45 maint/gnulib/tests/test-pwrite.c fd = open (file, O_CREAT | O_WRONLY, 0600); O_WRONLY 50 maint/gnulib/tests/test-pwrite.c fd = open (file, O_WRONLY, 0600); O_WRONLY 37 maint/gnulib/tests/test-read.c fd = open (filename, O_CREAT | O_WRONLY, 0600); O_WRONLY 34 maint/gnulib/tests/test-readtokens.c int fd = open (filename, O_CREAT | O_WRONLY, 0600); O_WRONLY 83 maint/gnulib/tests/test-stat-time.c int fd = open (filename, flags | O_WRONLY, 0500); O_WRONLY 48 maint/gnulib/tests/test-utimens.c int fd = open (name, O_WRONLY); O_WRONLY 37 maint/gnulib/tests/test-write.c fd = open (filename, O_CREAT | O_WRONLY, 0600); O_WRONLY 43 maint/gnulib/tests/test-write.c fd = open (filename, O_WRONLY);