/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 572 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 D | dd.c | 901 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 D | s10_deleted.c | 129 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 D | ct.c | 661 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 D | callers.c | 735 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 D | projadd.pl | 278 sysopen($pfh, $tmpprojf, O_WRONLY | O_CREAT | O_EXCL, $mode) ||
|
/illumos-gate/usr/src/cmd/fs.d/reparsed/ |
H A D | reparsed.c | 117 (void) open("/dev/null", O_WRONLY); in daemonize()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/ |
H A D | nfs4cbd.c | 114 (void) open("/dev/null", O_WRONLY); in main()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | audio.c | 101 aud->fd = open(aud->dev_name, aud->dir ? O_WRONLY : O_RDONLY, 0); in audio_init()
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 270 (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 D | pr_open.c | 114 adp->arg_value = (O_WRONLY | O_CREAT | O_TRUNC); in pr_creat()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | omitted | 17 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 D | dhcp_stable.c | 107 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 D | logging.c | 304 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 D | announce.c | 136 if ((fd = open(full_tty, O_WRONLY|O_NONBLOCK)) == -1) { in announce_proc()
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 259 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, in create_output_file()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ip_fil.c | 550 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 D | dumpkeys.c | 75 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { in main()
|
H A D | loadkeys.y | 162 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 D | db_log.cc | 223 if ((to = open(newname, O_WRONLY|O_CREAT|O_TRUNC, 0660)) < 0) { in copy_log_file()
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | files_attr.c | 927 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 D | bstream.c | 613 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 D | dumptape.c | 380 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 D | runcmd.c | 147 i = open(errfile, O_WRONLY|O_CREAT|O_TRUNC, 0666); in esystem()
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keylogin.c | 131 if ((rootfd = open(ROOTKEY_FILE, O_WRONLY+O_CREAT, 0600)) < 0) { in write_rootkey()
|