Home
last modified time | relevance | path

Searched refs:O_CREAT (Results 26 – 50 of 410) sorted by relevance

12345678910>>...17

/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()
224 if ((fd = open(IAID_FILE, O_RDWR | O_CREAT, 0644)) == -1) in write_stable_iaid()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmlog.c65 if ((fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND, 0444)) != -1) in openttymonlog()
232 if ((fd = open(EX_DBG, O_WRONLY|O_APPEND|O_CREAT)) < 0) in opendebug()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf_open.c61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0) in mdb_ctf_write()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-fopen.c27 out = sm_io_fopen("foo", O_WRONLY|O_APPEND|O_CREAT, 0666);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c22 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR; in krb5_create_secure_file()
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dopen.cc47 ((flags & (O_CREAT|O_APPEND)) != 0) ? rw_write : rw_read); in open_vroot()
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/
H A Dmmapwrite.c77 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) { in main()
/illumos-gate/usr/src/test/os-tests/tests/sdevfs/
H A Dsdevfs_eisdir.c68 ret = open(SD_TEST_DIR, O_RDWR | O_CREAT, 0); in main()
/illumos-gate/usr/src/test/zfs-tests/cmd/mkfiles/
H A Dmkfiles.c57 if ((fd = open(buf, O_CREAT | O_EXCL, O_RDWR)) == -1) { in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsymlink.c48 …if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IW…
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin64.h177 #define O_CREAT _O_CREAT macro
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c287 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, in setlog()
338 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, in vlog_instance()
675 O_CREAT | O_RDWR | O_APPEND, 0644)) == -1) { in log_init()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetut.c147 if ((fd = open(_compat_utmpfile, O_RDWR|O_CREAT, 0644)) < 0) { in getutent_frec()
433 if ((fd = open(file, O_WRONLY|O_CREAT, 0644)) < 0) in _compat_updwtmp()
669 if ((fd = open(_compat_utmpfile, O_RDWR|O_CREAT, 0644)) < 0) in lockut()
/illumos-gate/usr/src/test/os-tests/tests/syscall/
H A Dopen.c67 fd = open(path, O_WRONLY | O_CREAT | O_EXCL | O_DIRECT, 0644); in o_direct_test()
H A Dfchmodat.c57 int fd = open(file, O_WRONLY | O_CREAT, 0644); in main()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c42 if (oflags & O_CREAT)
/illumos-gate/usr/src/cmd/cdrw/
H A Dbstream.c557 fd = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666); in open_au_write_stream()
586 fd = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666); in open_wav_write_stream()
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/lib/libc/port/rt/
H A Dsem.c75 oflag = (oflag & (O_CREAT|O_EXCL)) | (O_RDWR); in sem_open()
76 if (oflag & O_CREAT) { in sem_open()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_validate.c100 *vdb = dbopen(NULL, O_CREAT|O_RDWR, O_CREAT|O_RDWR, DB_HASH, NULL);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_endopen.c93 if (oflag == (O_WRONLY | O_APPEND | O_CREAT)) { /* type == "a" */ in _endopen()
/illumos-gate/usr/src/test/smbclient-tests/cmd/no_close/
H A Dno_close.c51 fid = open(argv[1], O_RDWR | O_CREAT | O_TRUNC, in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend.c108 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main()
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dmktemp.c123 open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0) in gettemp()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtvtouch.c150 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) in tvtouch()
274 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_cloexec, mode)) < 0) in tvtouch()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()
132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf()

12345678910>>...17