Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 201 – 225 of 399) sorted by relevance

12345678910>>...16

/freebsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c299 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 Dunbound.c378 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 Dchild.cpp120 filename.c_str(), O_CREAT | O_WRONLY | O_APPEND, in open_for_append()
H A Dexecutor_pid_test.cpp86 ATF_REQUIRE((fd = open("unforgettable", O_CREAT|O_EXCL|O_WRONLY, 0600)) in leak_work_dir()
/freebsd/crypto/heimdal/kdc/
H A Dprocess.c276 fd = open(fn, O_WRONLY|O_CREAT|O_APPEND, 0600); in krb5_kdc_save_request()
/freebsd/tools/regression/sockets/zerosend/
H A Dzerosend.c224 fd2 = open(path, O_WRONLY | O_NONBLOCK); in setup_fifo()
/freebsd/usr.bin/tcopy/
H A Dtcopy.c123 op == COPY ? O_WRONLY : O_RDWR, DEFFILEMODE)) < 0) in main()
/freebsd/usr.bin/write/
H A Dwrite.c288 fd = openat(devfd, tty, O_WRONLY); in do_write()
/freebsd/crypto/openssh/openbsd-compat/
H A Dport-solaris.c173 if ((ctl_fd = open64(ctl_path, O_WRONLY)) < 0) { in solaris_contract_post_fork_parent()
/freebsd/tests/sys/kqueue/libkqueue/
H A Dvnode.c102 fd = open(fifo_path, O_WRONLY); in test_kevent_vnode_note_delete_fifo()
/freebsd/usr.bin/patch/
H A Dutil.c169 tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666); in copy_file()
H A Dinp.c295 if ((tifd = open(TMPINNAME, O_EXCL | O_CREAT | O_WRONLY, 0666)) < 0) in plan_b()
/freebsd/sbin/hastd/
H A Dhooks.c116 fd = open(_PATH_DEVNULL, O_WRONLY); in descriptors()
/freebsd/lib/libutil/
H A Dpidfile.c174 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NONBLOCK, mode); in pidfile_open()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c81 mode = O_WRONLY; in vdev_file_open_mode()
/freebsd/usr.bin/split/
H A Dsplit.c356 int flags = O_WRONLY | O_CREAT | O_TRUNC; in newfile()
/freebsd/crypto/openssh/
H A Dloginrec.c1098 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 Dprocess.c241 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 Dt_dup.c57 int mode[3] = { O_RDONLY, O_WRONLY, O_RDWR }; in check_mode()
/freebsd/tests/sys/fs/fusefs/
H A Dfsync.cc276 fd1 = open(FULLPATH, O_WRONLY); in TEST_F()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dclonefile.c238 int dfd = open(argv[optind+1], O_WRONLY|O_CREAT, in main()
/freebsd/usr.bin/touch/
H A Dtouch.c165 O_WRONLY | O_CREAT, DEFFILEMODE); in main()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_file.c81 mode = O_WRONLY; in vdev_file_open_mode()
/freebsd/usr.bin/bsdiff/bspatch/
H A Dbspatch.c147 O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0666)) < 0) in main()
/freebsd/sbin/decryptcore/
H A Ddecryptcore.c413 ofd = open(core, O_WRONLY | O_CREAT | O_EXCL, 0600); in main()

12345678910>>...16