/freebsd/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 299 O_WRONLY|O_CREAT|O_EXCL, PERM_INSECURE)) < 0) in main() 581 if ((to_fd = open(to, O_WRONLY|O_CREAT|O_EXCL, mode)) < 0) in cp()
|
/freebsd/contrib/unbound/daemon/ |
H A D | unbound.c | 378 if((fd = open(pidfile, O_WRONLY | O_CREAT | O_TRUNC in writepid() 744 fd = open(daemon->pidfile, O_WRONLY | O_TRUNC in run_daemon()
|
/freebsd/contrib/kyua/utils/process/ |
H A D | child.cpp | 120 filename.c_str(), O_CREAT | O_WRONLY | O_APPEND, in open_for_append()
|
H A D | executor_pid_test.cpp | 86 ATF_REQUIRE((fd = open("unforgettable", O_CREAT|O_EXCL|O_WRONLY, 0600)) in leak_work_dir()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | process.c | 276 fd = open(fn, O_WRONLY|O_CREAT|O_APPEND, 0600); in krb5_kdc_save_request()
|
/freebsd/tools/regression/sockets/zerosend/ |
H A D | zerosend.c | 224 fd2 = open(path, O_WRONLY | O_NONBLOCK); in setup_fifo()
|
/freebsd/usr.bin/tcopy/ |
H A D | tcopy.c | 123 op == COPY ? O_WRONLY : O_RDWR, DEFFILEMODE)) < 0) in main()
|
/freebsd/usr.bin/write/ |
H A D | write.c | 288 fd = openat(devfd, tty, O_WRONLY); in do_write()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | port-solaris.c | 173 if ((ctl_fd = open64(ctl_path, O_WRONLY)) < 0) { in solaris_contract_post_fork_parent()
|
/freebsd/tests/sys/kqueue/libkqueue/ |
H A D | vnode.c | 102 fd = open(fifo_path, O_WRONLY); in test_kevent_vnode_note_delete_fifo()
|
/freebsd/usr.bin/patch/ |
H A D | util.c | 169 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); in copy_file()
|
H A D | inp.c | 295 if ((tifd = open(TMPINNAME, O_EXCL | O_CREAT | O_WRONLY, 0666)) < 0) in plan_b()
|
/freebsd/sbin/hastd/ |
H A D | hooks.c | 116 fd = open(_PATH_DEVNULL, O_WRONLY); in descriptors()
|
/freebsd/lib/libutil/ |
H A D | pidfile.c | 174 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NONBLOCK, mode); in pidfile_open()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_file.c | 81 mode = O_WRONLY; in vdev_file_open_mode()
|
/freebsd/usr.bin/split/ |
H A D | split.c | 356 int flags = O_WRONLY | O_CREAT | O_TRUNC; in newfile()
|
/freebsd/crypto/openssh/ |
H A D | loginrec.c | 1098 if ((fd = open(WTMP_FILE, O_WRONLY|O_APPEND, 0)) < 0) { in wtmp_write() 1270 if ((fd = open(WTMPX_FILE, O_WRONLY|O_APPEND, 0)) < 0) { in wtmpx_write() 1676 if ((fd = open(_PATH_BTMP, O_WRONLY | O_APPEND)) < 0) { in record_failed_login()
|
/freebsd/usr.bin/sed/ |
H A D | process.c | 241 O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, in process() 479 O_WRONLY|O_APPEND|O_CREAT|O_TRUNC, DEFFILEMODE)) == -1) in substitute()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_dup.c | 57 int mode[3] = { O_RDONLY, O_WRONLY, O_RDWR }; in check_mode()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | fsync.cc | 276 fd1 = open(FULLPATH, O_WRONLY); in TEST_F()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | clonefile.c | 238 int dfd = open(argv[optind+1], O_WRONLY|O_CREAT, in main()
|
/freebsd/usr.bin/touch/ |
H A D | touch.c | 165 O_WRONLY | O_CREAT, DEFFILEMODE); in main()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_file.c | 81 mode = O_WRONLY; in vdev_file_open_mode()
|
/freebsd/usr.bin/bsdiff/bspatch/ |
H A D | bspatch.c | 147 O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0666)) < 0) in main()
|
/freebsd/sbin/decryptcore/ |
H A D | decryptcore.c | 413 ofd = open(core, O_WRONLY | O_CREAT | O_EXCL, 0600); in main()
|