/illumos-gate/usr/src/cmd/mdb/intel/modules/smbios/ |
H A D | smbios.c | 71 if ((fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0666)) < 0) { in smbios_mdb_write()
|
/illumos-gate/usr/src/cmd/projadd/ |
H A D | projdel.pl | 125 sysopen($pfh, $tmpprojf, O_WRONLY | O_CREAT | O_EXCL, $mode) ||
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | log.c | 67 if ((fd = open("/dev/console", O_WRONLY|O_NOCTTY)) != -1) in cons_printf()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_log.c | 105 if ((newlogfd = open(lf, O_EXCL|O_WRONLY|O_CREAT, 0644)) < 0) { in _nscd_set_lf() 126 open(lf, O_APPEND|O_WRONLY, 0644)) < 0) { in _nscd_set_lf()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | passprompt.c | 68 red = open("/etc/ppp/prompt-errors", O_WRONLY | O_APPEND | O_CREAT, in promptpass()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_trace.c | 96 fd = open(val, O_WRONLY | O_CREAT, 0644); in set_option()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | mmap | 52 if ((fd = open(file, O_CREAT|O_TRUNC|O_WRONLY, 0666)) < 0) 145 if (!mktemp(file) || (fd = open64(file, O_CREAT|O_WRONLY, 0600)) < 0) 261 if ((fd = open(file, O_CREAT|O_TRUNC|O_WRONLY, 0666)) < 0)
|
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/ |
H A D | changepasswd.c | 234 if ((npwfd = open(newpasswdfile, O_WRONLY | O_CREAT | O_EXCL, in changepasswd() 257 if ((nspfd = open(newshadowfile, O_WRONLY | O_CREAT | O_EXCL, in changepasswd() 283 if ((nadjfd = open(newadjunctfile, O_WRONLY | O_CREAT | O_EXCL, in changepasswd()
|
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | dosys.cc | 99 O_WRONLY | O_CREAT | O_TRUNC | O_DSYNC, in redirect_io() 117 O_WRONLY | O_CREAT | O_TRUNC | O_DSYNC, in redirect_io()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | ocfile.c | 176 n = open(tmpcf, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644); in set_cfdir() 681 fd = open(contents, O_WRONLY | O_CREAT | O_EXCL, 0644); in vcfile()
|
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 349 if ((syslog_logfd = open("/dev/conslog", O_WRONLY | O_NOCTTY)) == -1) in _fmd_init() 352 if ((syslog_msgfd = open("/dev/sysmsg", O_WRONLY | O_NOCTTY)) == -1) in _fmd_init()
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | acquire-lock.c | 153 fd = open(path, rdonly ? O_RDONLY : O_WRONLY); in main()
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 55 #define O_WRONLY 1 macro
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acwin.h | 193 #define O_WRONLY _O_WRONLY macro
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | contracts.c | 171 return (contract_open(cid, "process", "ctl", O_WRONLY)); in open_contract_ctl_file()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/slpd/ |
H A D | slpd.c | 146 (void) open("/dev/null", O_WRONLY); in detachfromtty()
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mconnect.c | 97 if ((fd = Open(path, O_WRONLY, 0)) == -1)
|
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | libcontract_priv.c | 115 fd = contract_open(ctid, "all", "ctl", O_WRONLY); in contract_abandon_id()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 527 if ((mode == O_RDWR) || (mode == O_WRONLY)) { in acquire_file_lock() 653 oflag = O_WRONLY; in lock_desc_file() 735 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_updated_keystore_version() 978 oflag = O_WRONLY; in soft_keystore_lock_object() 1267 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in reencrypt_obj() 2277 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj() 2532 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_modify_obj() 2740 if ((obj_fd = open_and_lock_object_file(ks_handle, O_WRONLY, in soft_keystore_del_obj()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | utilities.c | 581 O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_LARGEFILE, perms)) < 0) { in safe_open() 598 working_mode = mode & (O_WRONLY|O_RDWR|O_RDONLY); in safe_open() 692 if (mode & (O_WRONLY|O_TRUNC)) { in safe_open() 745 bmode = O_WRONLY; in safe_fopen()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | sys-suspend.c | 600 (void) dup2(open("/dev/console", O_WRONLY), 1); in main() 601 (void) dup2(open("/dev/console", O_WRONLY), 2); in main()
|
/illumos-gate/usr/src/cmd/tcopy/ |
H A D | tcopy.c | 84 if ((outp = open(outf, O_WRONLY, 0666)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd.c | 253 (void) open("/dev/null", O_WRONLY); in detachfromtty()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | etest.c | 54 if (( sb.sb_sd = open( "lber-test", O_WRONLY|O_CREAT|O_TRUNC|O_BINARY )) in main()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 74 #define O_WRONLY 0x0001 /* open for writing only */ macro
|