Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 101 – 125 of 326) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c572 int corefd = Open(corefile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in copy_crashfile()
1346 int corefd = Open(corefile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in build_corefile()
1347 int namefd = Open(namelist, O_WRONLY | O_CREAT | O_TRUNC, 0644); in build_corefile()
1457 logfd = Open("/dev/conslog", O_WRONLY, 0644); in message_save()
1766 int logfd = Open("/dev/conslog", O_WRONLY, 0644); in main()
1980 bfd = Open("bounds", O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c901 obf = open(ofile, (O_WRONLY | O_CREAT | oflag), in main()
905 obf = open(ofile, O_WRONLY | O_CREAT | oflag, in main()
921 obf = open(ofile, O_WRONLY | O_CREAT | O_TRUNC | oflag, in main()
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c129 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in s10_creat()
152 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in s10_creat64()
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c661 if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) { in startat()
719 if ((fd = open(WTMPX_FILE, O_WRONLY | O_APPEND)) != -1) {
H A Dcallers.c735 dcr = open(dcname, O_WRONLY|O_NDELAY);
850 if ((dnf = open(dnname, O_WRONLY)) < 0) {
937 if ((dnf = open(dnname, O_WRONLY)) < 0 ) {
/illumos-gate/usr/src/cmd/projadd/
H A Dprojadd.pl278 sysopen($pfh, $tmpprojf, O_WRONLY | O_CREAT | O_EXCL, $mode) ||
/illumos-gate/usr/src/cmd/fs.d/reparsed/
H A Dreparsed.c117 (void) open("/dev/null", O_WRONLY); in daemonize()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c114 (void) open("/dev/null", O_WRONLY); in main()
/illumos-gate/usr/src/cmd/bhyve/
H A Daudio.c101 aud->fd = open(aud->dev_name, aud->dir ? O_WRONLY : O_RDONLY, 0); in audio_init()
/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c270 (void) open("/dev/null", O_WRONLY); in main()
271 (void) open("/dev/null", O_WRONLY); in main()
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_open.c114 adp->arg_value = (O_WRONLY | O_CREAT | O_TRUNC); in pr_creat()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Domitted17 if (_fstat(fd, &fs) || (td = _open(to, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, fs.st_mode & 0777)) < 0)
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c107 if ((fd = open(DUID_FILE, O_WRONLY | O_CREAT, 0644)) == -1) in write_stable_duid()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.c304 curlogfd = open(fname, O_WRONLY|O_APPEND|O_CREAT, 0600); in log_for_service()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c136 if ((fd = open(full_tty, O_WRONLY|O_NONBLOCK)) == -1) { in announce_proc()
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dfile.cc259 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, in create_output_file()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c550 fd = open(fname, O_WRONLY|O_APPEND);
746 fd = open(fname, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600); in init_ifp()
757 fd = open(fname, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600); in init_ifp()
/illumos-gate/usr/src/cmd/loadkeys/
H A Ddumpkeys.c75 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { in main()
H A Dloadkeys.y162 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { in main()
299 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { in set_layout()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_log.cc223 if ((to = open(newname, O_WRONLY|O_CREAT|O_TRUNC, 0660)) < 0) { in copy_log_file()
/illumos-gate/usr/src/lib/passwdutil/
H A Dfiles_attr.c927 tempfd = open(SHADTEMP, O_WRONLY|O_CREAT|O_TRUNC, filemode); in files_update_shadow()
1024 if ((tempfd = open(PASSTEMP, O_WRONLY|O_CREAT|O_TRUNC, 0600)) < 0) { in files_update_passwd()
1162 if ((tmpfd = open(HISTEMP, O_WRONLY|O_CREAT|O_TRUNC, HISTMODE)) < 0) { in files_update_history()
/illumos-gate/usr/src/cmd/cdrw/
H A Dbstream.c613 fd = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666); in open_aur_write_stream()
630 fd = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666); in open_file_write_stream()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c380 archivefd = safe_file_open(archivefile, O_WRONLY, 0600); in setuparchive()
1524 while ((to = host ? rmtopen(tape, O_WRONLY) : in otape()
1525 safe_device_open(tape, O_WRONLY, 0600)) < 0) in otape()
1540 rmtopen(tape, O_WRONLY) : in otape()
1541 safe_device_open(tape, O_WRONLY|m, 0600)) in otape()
/illumos-gate/usr/src/lib/libpkg/common/
H A Druncmd.c147 i = open(errfile, O_WRONLY|O_CREAT|O_TRUNC, 0666); in esystem()
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeylogin.c131 if ((rootfd = open(ROOTKEY_FILE, O_WRONLY+O_CREAT, 0600)) < 0) { in write_rootkey()

12345678910>>...14