Home
last modified time | relevance | path

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

12345

/openbsd/regress/sys/ffs/tests/open/
H A D22.t9 expect EEXIST open ${n0} O_CREAT,O_EXCL 0644
13 expect EEXIST open ${n0} O_CREAT,O_EXCL 0644
17 expect EEXIST open ${n0} O_CREAT,O_EXCL 0644
21 expect EEXIST open ${n0} O_CREAT,O_EXCL 0644
/openbsd/regress/usr.bin/mandoc/db/makeinodes/
H A Dmakeinodes.c52 if ((fd = open("1", O_WRONLY | O_CREAT | O_EXCL, 0644)) == -1) in main()
58 if ((fd = open("2", O_WRONLY | O_CREAT | O_EXCL, 0644)) == -1) in main()
65 if ((fd = open("3", O_WRONLY | O_CREAT | O_EXCL, 0644)) == -1) in main()
/openbsd/gnu/usr.bin/perl/ext/VMS-Stdio/
H A DStdio.pm17 our @EXPORT = qw( &O_APPEND &O_CREAT &O_EXCL &O_NDELAY &O_NOWAIT
21 our %EXPORT_TAGS = ( CONSTANTS => [ qw( &O_APPEND &O_CREAT &O_EXCL &O_NDELAY
/openbsd/lib/libc/gen/
H A Dshm_open.c35 #define OK_FLAGS (O_CREAT | O_EXCL | O_TRUNC | O_CLOEXEC | O_NOFOLLOW)
108 fd = shm_open(t, O_RDWR | O_EXCL | O_CREAT, 0600); in shm_mkstemp()
/openbsd/lib/libz/
H A Dgzlib.c92 #ifdef O_EXCL in gz_open()
139 #ifdef O_EXCL in gz_open()
223 #ifdef O_EXCL in gz_open()
224 (exclusive ? O_EXCL : 0) | in gz_open()
/openbsd/usr.bin/mandoc/
H A Dterm_tag.c98 ofd = open(outfilename, O_WRONLY | O_CREAT | O_EXCL, 0644); in term_tag_init()
117 tfd = open(tagfilename, O_WRONLY | O_CREAT | O_EXCL, 0644); in term_tag_init()
/openbsd/usr.sbin/netgroup_mkdb/
H A Dnetgroup_mkdb.c152 db = dbopen(buf, O_RDWR | O_CREAT | O_EXCL, in main()
203 db = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL); in ng_load()
305 xdb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL); in ng_insert()
429 udb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL); in ng_reverse()
/openbsd/gnu/usr.bin/texinfo/lib/
H A Dtempname.c299 fd = __open (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname()
303 fd = __open64 (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname()
/openbsd/lib/libc/stdio/
H A Dflags.c88 o |= O_EXCL; in __sflags()
/openbsd/lib/libc/stdlib/
H A Dmkstemp.c28 flags |= O_CREAT | O_EXCL | O_RDWR; in mkstemp_cb()
/openbsd/gnu/usr.bin/binutils/include/mpw/
H A Dfcntl.h93 #define O_EXCL (1<<10) /* w/ O_CREAT: Exclusive "create-only" */ macro
/openbsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c226 O_RDWR|O_CREAT|O_EXCL, PERM_SECURE, DB_HASH, &openinfo); in main()
249 dp = dbopen(buf, O_RDWR|O_CREAT|O_EXCL, PERM_INSECURE, in main()
268 O_WRONLY|O_CREAT|O_EXCL, PERM_INSECURE)) == -1) in main()
391 if ((to_fd = open(to, O_WRONLY|O_CREAT|O_EXCL, mode)) == -1) in cp()
/openbsd/libexec/mail.local/
H A Dlocking.c75 if ((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL, in getlock()
/openbsd/distrib/special/libstubs/
H A Ddb.c50 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
/openbsd/usr.sbin/smtpd/
H A Dmda_mbox.c69 if ((fd = open(buffer, O_CREAT|O_EXCL, 0)) == -1) { in mda_mbox_init()
/openbsd/gnu/lib/libiberty/src/
H A Dmkstemps.c122 fd = open (pattern, O_RDWR|O_CREAT|O_EXCL, 0600); in mkstemps()
/openbsd/regress/lib/libc/sys/
H A Dt_fsync.c104 fd = open(buf, O_CREAT|O_EXCL|O_RDWR, 0600); in ATF_TC_BODY()
/openbsd/usr.bin/rsync/
H A Dcopy.c82 O_WRONLY | O_NOFOLLOW | O_TRUNC | O_CREAT | O_EXCL, in copy_file()
/openbsd/lib/libc/db/db/
H A Ddb.c50 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
/openbsd/lib/librthread/
H A Drthread_sem_compat.c134 sempshared = sem_open(name, O_CREAT | O_EXCL, 0, value); in sem_init()
340 if (oflag & ~(O_CREAT | O_EXCL)) { in sem_open()
H A Drthread_sem.c122 sempshared = sem_open(name, O_CREAT | O_EXCL, 0, value); in sem_init()
325 if (oflag & ~(O_CREAT | O_EXCL)) { in sem_open()
/openbsd/sys/sys/
H A Dfcntl.h93 #define O_EXCL 0x0800 /* error if already exists */ macro
/openbsd/usr.sbin/vmd/
H A Dvioraw.c111 fd = open(imgfile_path, O_RDWR | O_CREAT | O_TRUNC | O_EXCL, in virtio_raw_create()
/openbsd/usr.bin/uudecode/
H A Duudecode.c268 flags = O_WRONLY|O_CREAT|O_EXCL|O_NOFOLLOW; in decode2()
288 flags &= ~(O_EXCL|O_NOFOLLOW); in decode2()
/openbsd/gnu/usr.bin/perl/ext/Fcntl/
H A DMakefile.PL24 O_CREAT O_DEFER O_DIRECT O_DIRECTORY O_DSYNC O_EVTONLY O_EXCL

12345