/openbsd/regress/sys/ffs/tests/open/ |
H A D | 22.t | 9 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 D | makeinodes.c | 52 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 D | Stdio.pm | 17 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 D | shm_open.c | 35 #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 D | gzlib.c | 92 #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 D | term_tag.c | 98 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 D | netgroup_mkdb.c | 152 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 D | tempname.c | 299 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 D | flags.c | 88 o |= O_EXCL; in __sflags()
|
/openbsd/lib/libc/stdlib/ |
H A D | mkstemp.c | 28 flags |= O_CREAT | O_EXCL | O_RDWR; in mkstemp_cb()
|
/openbsd/gnu/usr.bin/binutils/include/mpw/ |
H A D | fcntl.h | 93 #define O_EXCL (1<<10) /* w/ O_CREAT: Exclusive "create-only" */ macro
|
/openbsd/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 226 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 D | locking.c | 75 if ((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL, in getlock()
|
/openbsd/distrib/special/libstubs/ |
H A D | db.c | 50 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
|
/openbsd/usr.sbin/smtpd/ |
H A D | mda_mbox.c | 69 if ((fd = open(buffer, O_CREAT|O_EXCL, 0)) == -1) { in mda_mbox_init()
|
/openbsd/gnu/lib/libiberty/src/ |
H A D | mkstemps.c | 122 fd = open (pattern, O_RDWR|O_CREAT|O_EXCL, 0600); in mkstemps()
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_fsync.c | 104 fd = open(buf, O_CREAT|O_EXCL|O_RDWR, 0600); in ATF_TC_BODY()
|
/openbsd/usr.bin/rsync/ |
H A D | copy.c | 82 O_WRONLY | O_NOFOLLOW | O_TRUNC | O_CREAT | O_EXCL, in copy_file()
|
/openbsd/lib/libc/db/db/ |
H A D | db.c | 50 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
|
/openbsd/lib/librthread/ |
H A D | rthread_sem_compat.c | 134 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 D | rthread_sem.c | 122 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 D | fcntl.h | 93 #define O_EXCL 0x0800 /* error if already exists */ macro
|
/openbsd/usr.sbin/vmd/ |
H A D | vioraw.c | 111 fd = open(imgfile_path, O_RDWR | O_CREAT | O_TRUNC | O_EXCL, in virtio_raw_create()
|
/openbsd/usr.bin/uudecode/ |
H A D | uudecode.c | 268 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 D | Makefile.PL | 24 O_CREAT O_DEFER O_DIRECT O_DIRECTORY O_DSYNC O_EVTONLY O_EXCL
|