Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 251 – 275 of 326) sorted by relevance

1...<<11121314

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dnvfile.c1309 if (flags & O_WRONLY) in nvf_open()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c823 if ((fd = open(name, O_CREAT | O_WRONLY, S_IWUSR)) == -1) { in create_file()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c172 if ((flags & 03) == O_WRONLY) in dbm_open()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c402 oflag = oflag & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK); in mq_open()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c28 # define TF_OPEN_FLAGS (O_CREAT|O_WRONLY|O_EXCL|O_EXLOCK)
30 # define TF_OPEN_FLAGS (O_CREAT|O_WRONLY|O_EXCL)
556 dfd = open(df, O_WRONLY|O_CREAT|O_TRUNC|QF_O_EXTRA,
6776 keyf = safefopen(keypath, O_WRONLY|O_TRUNC, FileMode, sff);
8520 flags = O_CREAT|O_WRONLY|O_EXCL;
H A Dsavemail.c420 (fp = safefopen(DeadLetterDrop, O_WRONLY|O_APPEND,
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c1014 mode = O_WRONLY | O_CREAT | O_EXCL; in do_save_controls()
/illumos-gate/usr/src/cmd/su/
H A Dsu.c280 (void) close(open(Sulog, O_WRONLY | O_APPEND | O_CREAT, in main()
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c376 if ( (ld->ld_sb.sb_fd = open( copyfname, O_WRONLY | O_CREAT, in main()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c106 if ((flags & O_ACCMODE) == O_WRONLY) {
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dthr.c2430 if ((fd = __open(path, O_WRONLY, 0)) < 0) { in thr_setname()
2617 if ((fd = __open(buf, O_WRONLY, 0)) >= 0) { in putlwpregs()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c863 (readmode ? O_RDONLY : (O_WRONLY|O_TRUNC)) | O_NONBLOCK); in tftp()
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c182 if ((ctlfd = open(ctlfile, O_WRONLY)) == -1) in direct_init()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c394 O_CREAT | O_WRONLY) || fmd_log_write_hdr(lp, tag); in fmd_log_xopen()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c3985 O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in st_write()
4226 fd = contract_getfile(ct_event_get_ctid(e), "ctl", O_WRONLY); in contract_ack()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgtrans.c1192 if ((ds_fd = open(dstdev.cdevice, O_WRONLY)) < 0) { in pkgxfer()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c895 fd = open(dstfile, O_WRONLY|O_CREAT|(overwrite ? O_TRUNC : O_EXCL), in open_dstfile()
/illumos-gate/usr/src/cmd/ctfdump/
H A Dctfdump.c1161 if ((fd = open(out, O_WRONLY | O_CREAT | O_TRUNC, 0666)) < 0) in ctfdump_output()
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_db.c290 oflags = (modestr[0] == 'r') ? O_RDONLY : O_WRONLY | O_CREAT | O_TRUNC; in dlmgmt_zopen_cb()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c50 #define O_RWMASK (O_WRONLY | O_RDWR) /* == 3 */
/illumos-gate/usr/src/cmd/bnu/
H A Dcu.c1317 if ( append && ((file=open(filename,O_WRONLY)) >= 0) ) in _receive()
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c553 Out.f_des = open(Out.f_dev_p, O_WRONLY); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dmalloc.c1231 fd = open(file, O_WRONLY|O_CREAT|O_TRUNC, CREAT_MODE);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dlib319 if ((n = open(tmp, O_CREAT|O_WRONLY, S_IRWXU|S_IRWXG|S_IRWXO)) < 0 ||
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dmain.c1950 if (open(ilockfile, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644) < 0) { in main()

1...<<11121314