Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 176 – 200 of 399) sorted by relevance

12345678910>>...16

/freebsd/usr.sbin/bhyve/
H A Daudio.c102 aud->fd = open(aud->dev_name, aud->dir ? O_WRONLY : O_RDONLY, 0); in audio_init()
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c1168 if ((i = open(wtmpf, O_WRONLY|O_APPEND)) >= 0) { in startslave()
1463 int f = open(wtmpf, O_WRONLY|O_APPEND); in rmut()
1523 f = open(wtmpf, O_WRONLY|O_APPEND); in rmut()
1561 if ((fd = open(wtmpf, O_WRONLY | O_APPEND)) >= 0) { in rmut()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dreceiver.c320 O_WRONLY | O_APPEND | O_NOFOLLOW); in receiver_open()
334 O_WRONLY | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); in receiver_open()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dxattrtest.c235 fd = open(file, O_WRONLY); in drop_caches()
265 devnull_fd = open("/dev/null", O_WRONLY); in run_process()
/freebsd/tools/test/stress2/misc/
H A Dnfs15lockd.sh152 if ((fd = open(file, O_WRONLY | O_CREAT | O_APPEND,
H A Dnfs15lockd3.sh158 if ((fd = open(file, O_WRONLY | O_CREAT | O_APPEND,
H A Dkevent7.sh169 if ((fd[i] = open(p->fts_path, O_WRONLY)) ==
/freebsd/contrib/libucl/tests/
H A Dtest_basic.c174 fd_out = open (fname_out, O_WRONLY | O_CREAT, 00644); in main()
/freebsd/crypto/openssl/crypto/rand/
H A Drandfile.c210 int fd = open(file, O_WRONLY | O_CREAT | O_BINARY, 0600); in RAND_write_file()
/freebsd/tests/sys/fifo/
H A Dfifo_misc.c88 fd2 = open(fifoname, O_WRONLY | O_NONBLOCK); in openfifo()
/freebsd/usr.bin/lockf/
H A Dlockf.c124 flags = (flags & ~O_RDONLY) | O_WRONLY; in main()
/freebsd/usr.bin/mail/
H A Dmain.c129 if ((i = open(Tflag, O_CREAT | O_TRUNC | O_WRONLY, in main()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_open_filename.c143 flags = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_CLOEXEC; in file_open()
/freebsd/sbin/savecore/
H A Dsavecore.c271 if ((fp = xfopenat(savedirfd, "bounds", O_WRONLY | O_CREAT | O_TRUNC, in writebounds()
290 fd = openat(savedirfd, keyname, O_WRONLY | O_CREAT | O_TRUNC, 0600); in writekey()
319 O_WRONLY | O_CREAT | O_TRUNC, "w", 0600)) == NULL) { in write_header_info()
1160 fdcore = openat(savedirfd, corename, O_WRONLY | O_CREAT | O_TRUNC, in DoFile()
/freebsd/usr.bin/at/
H A Dat.c245 if ((lockdes = open(LFILE, O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR)) < 0) in writefile()
283 if ((fdes = creat(atfile, O_WRONLY)) == -1) in writefile()
/freebsd/lib/libc/gen/
H A Dpututxline.c274 fd = _open(_PATH_UTX_LOG, O_CREAT|O_WRONLY|O_APPEND|O_CLOEXEC, 0644); in utx_log_add()
/freebsd/tests/sys/vfs/
H A Dlookup_cap_dotdot.c47 ATF_REQUIRE((fd = openat(_dirfd, name, O_CREAT | O_TRUNC | O_WRONLY, in touchat()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c48 if (!(flags & O_CREAT) && (flags & O_WRONLY)) in zfs_file_open()
/freebsd/sbin/ggate/ggatel/
H A Dggatel.c79 return (O_WRONLY); in g_gate_openflags()
/freebsd/tests/sys/netinet/
H A Dtcp_connect_port_test.c84 fd = open(SYSCTLBAKFILE, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, in disable_random_ports()
/freebsd/crypto/heimdal/lib/krb5/
H A Dfcache.c386 krb5_boolean exclusive = ((flags | O_WRONLY) == flags || in fcc_open()
505 ret = fcc_open(context, id, &fd, O_WRONLY | O_APPEND | O_BINARY | O_CLOEXEC, 0); in fcc_store_cred()
986 O_WRONLY | O_CREAT | O_EXCL | O_BINARY | O_CLOEXEC, 0600); in fcc_move()
/freebsd/contrib/wpa/src/utils/
H A Dwpa_debug.c171 trace_fd = open(buf, O_WRONLY); in wpa_debug_open_linux_tracing()
565 out_fd = open(path, O_CREAT | O_APPEND | O_WRONLY, in wpa_debug_open_file()
/freebsd/contrib/sendmail/libsmutil/
H A Dsafefile.c707 case O_WRONLY:
804 case O_WRONLY:
/freebsd/sbin/dump/
H A Dtape.c618 open(tape, O_WRONLY|O_CREAT, 0666))) < 0) in startnewtape()
621 open(tape, O_WRONLY|O_CREAT, 0666)) < 0) in startnewtape()
/freebsd/sbin/ipf/ipfs/
H A Dipfs.c378 wfd = open(file, O_WRONLY|O_TRUNC|O_CREAT, 0600); in writestate()
689 nfd = open(file, O_WRONLY|O_TRUNC|O_CREAT, 0600); in writenat()

12345678910>>...16