Home
last modified time | relevance | path

Searched refs:O_EXCL (Results 1 – 25 of 143) sorted by relevance

123456

/NextBSD/lib/libc/stdio/
HDflags.c94 o |= O_EXCL; in __sflags()
110 if ((o & O_EXCL) != 0 && m == O_RDONLY) { in __sflags()
/NextBSD/cddl/lib/libdtrace/
HDio.d96 inline int O_EXCL = 0x0800; variable
97 #pragma D binding "1.1" O_EXCL
/NextBSD/contrib/netbsd-tests/fs/ffs/
HDh_quota2_tests.c187 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test3()
197 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test3()
263 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test4()
317 O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test5()
/NextBSD/contrib/netbsd-tests/lib/librt/
HDt_sem.c92 sem_b = sem_open("/sem_b", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
136 sem_a = sem_open("/sem_a", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
/NextBSD/usr.sbin/extattrctl/
HDextattrctl.c97 flags = O_CREAT | O_WRONLY | O_TRUNC | O_EXCL; in initattr()
102 flags &= ~O_EXCL; in initattr()
/NextBSD/usr.sbin/pwd_mkdb/
HDpwd_mkdb.c231 O_RDWR|O_EXCL|O_SYNC, PERM_INSECURE, DB_HASH, &openinfo); in main()
238 O_RDWR|O_EXCL|O_SYNC, PERM_SECURE, DB_HASH, &openinfo); in main()
295 O_RDWR|O_CREAT|O_EXCL|O_SYNC, PERM_INSECURE, DB_HASH, &openinfo); in main()
301 O_RDWR|O_CREAT|O_EXCL|O_SYNC, PERM_SECURE, DB_HASH, &openinfo); in main()
320 O_WRONLY|O_CREAT|O_EXCL, PERM_INSECURE)) < 0) in main()
699 if ((to_fd = open(to, O_WRONLY|O_CREAT|O_EXCL, mode)) < 0) in cp()
/NextBSD/tests/sys/posixshm/
HDposixshm_test.c106 fd = shm_open(test_path, O_CREAT|O_EXCL|O_RDWR, 0777); in scribble_object()
110 fd = shm_open(test_path, O_CREAT | O_EXCL | O_RDWR, 0777); in scribble_object()
301 shm_open_should_fail(test_path, O_RDONLY|O_CREAT|O_EXCL, in ATF_TC_BODY()
537 desc = shm_open(test_path, O_EXCL | O_CREAT | O_RDWR, 0600); in ATF_TC_BODY()
/NextBSD/sys/i386/ibcs2/
HDibcs2_fcntl.c71 if (flags & IBCS2_O_EXCL) r |= O_EXCL;
150 if (flags & IBCS2_O_EXCL) r |= O_EXCL;
171 if (flags & O_EXCL) r |= IBCS2_O_EXCL;
/NextBSD/lib/libc/gen/
HDsem_new.c162 if (flags & ~(O_CREAT|O_EXCL)) { in _sem_open()
182 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | in _sem_open()
183 O_EXCL) || ni->dev != sb.st_dev || in _sem_open()
/NextBSD/lib/libz/
HDgzlib.c105 #ifdef O_EXCL
152 #ifdef O_EXCL
236 #ifdef O_EXCL
237 (exclusive ? O_EXCL : 0) |
/NextBSD/contrib/netbsd-tests/kernel/
HDt_lockf.c133 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); in ATF_TC_BODY()
228 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); in ATF_TC_BODY()
/NextBSD/contrib/pjdfstest/tests/open/
HD22.t15 expect EEXIST open ${n0} O_CREAT,O_EXCL 0644
/NextBSD/gnu/usr.bin/rcs/lib/
HDconf.h268 #ifndef O_EXCL
269 #define O_EXCL 0 macro
/NextBSD/cddl/contrib/opensolaris/lib/libuutil/common/
HDuu_open.c58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp()
/NextBSD/crypto/heimdal/lib/roken/
HDmkstemp.c64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600); in mkstemp()
/NextBSD/contrib/ntp/lib/isc/win32/include/isc/
HDstat.h66 #define O_EXCL _O_EXCL macro
/NextBSD/tests/sys/mqueue/
HDmqtest1.c26 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr); in main()
/NextBSD/libexec/ypxfr/
HDyp_dbwrite.c68 #define FLAGS O_RDWR|O_EXLOCK|O_EXCL|O_CREAT in yp_open_db_rw()
/NextBSD/contrib/binutils/libiberty/
HDmkstemps.c126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600); in mkstemps()
/NextBSD/contrib/ntp/sntp/libopts/compat/
HDwindows-config.h103 #define O_EXCL _O_EXCL macro
/NextBSD/contrib/gcclibs/libiberty/
HDmkstemps.c126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600); in mkstemps()
/NextBSD/lib/libc/db/db/
HDdb.c53 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
/NextBSD/sys/dev/drm/
HDdrm_fops.c49 if (flags & O_EXCL) in drm_open_helper()
/NextBSD/contrib/groff/src/libs/libgroff/
HDtmpname.cpp106 : open(tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in gen_tempname()
/NextBSD/contrib/tcsh/
HDtc.os.h367 #ifndef O_EXCL
368 # define O_EXCL 0 macro

123456