Home
last modified time | relevance | path

Searched refs:O_EXLOCK (Results 1 – 25 of 30) sorted by relevance

12

/netbsd-src/external/bsd/nvi/usr.bin/nvi/
H A Dcompat.h136 #ifndef O_EXLOCK
137 #define O_EXLOCK 0 macro
H A Dport.h138 #ifndef O_EXLOCK
139 #define O_EXLOCK 0 macro
/netbsd-src/sys/sys/
H A Dfcntl.h85 #define O_EXLOCK 0x00000020 /* open with exclusive file lock */ macro
133 #define O_MASK (O_ACCMODE|O_NONBLOCK|O_APPEND|O_SHLOCK|O_EXLOCK|\
/netbsd-src/tests/lib/libc/stdlib/
H A Dt_mktemp.c196 O_SHLOCK, O_EXLOCK, in ATF_TC_BODY()
231 O_SHLOCK, O_EXLOCK, in ATF_TC_BODY()
/netbsd-src/external/bsd/nvi/dist/dist/
H A Dport.h.in136 #ifndef O_EXLOCK
137 #define O_EXLOCK 0 macro
/netbsd-src/external/mit/libuv/dist/include/uv/
H A Dunix.h442 #if defined(O_EXLOCK)
443 # define UV_FS_O_EXLOCK O_EXLOCK
/netbsd-src/libexec/mail.local/
H A Dmail.local.c241 if ((mbfd = open(path, O_APPEND|O_WRONLY|O_EXLOCK|O_NOFOLLOW, in deliver()
245 (mbfd = open(path, O_APPEND|O_CREAT|O_WRONLY|O_EXLOCK|O_EXCL, in deliver()
/netbsd-src/lib/libc/db/db/
H A Ddb.c65 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \ in __weak_alias()
/netbsd-src/usr.sbin/kvm_mkdb/
H A Dkvm_mkdb.c163 db = dbopen(dbtemp, O_CREAT | O_EXLOCK | O_TRUNC | O_RDWR, in main()
/netbsd-src/lib/libc/stdio/
H A Dgettemp.c66 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC | in GETTEMP()
/netbsd-src/lib/libc/gen/
H A Dutmpx.c349 if ((fd = open(file, O_CREAT|O_WRONLY|O_EXLOCK|O_CLOEXEC, 0644)) == -1) in updwtmpx()
474 db = dbopen(fname, O_RDWR|O_CREAT|O_EXLOCK|O_CLOEXEC, 0644, DB_HASH, NULL); in updlastlogx()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hdb/
H A Ddb.c277 #ifndef O_EXLOCK in _open_db()
303 flags |= O_EXLOCK; in _open_db()
/netbsd-src/lib/libutil/
H A Dpidfile.c200 O_WRONLY | O_CREAT | O_CLOEXEC | O_NONBLOCK | O_EXLOCK, in pidfile_lock()
/netbsd-src/usr.sbin/bthcid/
H A Dconfig.c184 fd = open(new_key_file, O_WRONLY|O_TRUNC|O_CREAT|O_EXLOCK, 0600); in save_key()
/netbsd-src/usr.sbin/btattach/
H A Dbtattach.c259 if ((fd = open(argv[0], O_RDWR | O_EXLOCK, 0)) < 0) in main()
598 if ((fd = open(tty, O_RDWR | O_NONBLOCK | O_EXLOCK, 0)) < 0) in test()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dfcntl.d536 enum O_EXLOCK = 0x0020;
632 enum O_EXLOCK = 0x0000020;
/netbsd-src/external/bsd/blocklist/bin/
H A Dstate.c80 flags &= O_CREAT|O_EXCL|O_EXLOCK|O_NONBLOCK|O_RDONLY| in state_open()
/netbsd-src/usr.bin/db/
H A Ddb.c267 oi.dbflags = O_RDWR | O_CREAT | O_EXLOCK; in main()
277 oi.dbflags = O_RDWR | O_CREAT | O_EXLOCK; in main()
/netbsd-src/usr.sbin/dev_mkdb/
H A Ddev_mkdb.c114 db_compat = dbopen(db_name_tmp, O_CREAT|O_EXCL|O_EXLOCK|O_RDWR|O_TRUNC, in compat_open()
/netbsd-src/sys/arch/x68k/stand/installboot/
H A Dinstallboot.c119 fd = open(rawname, O_RDONLY | O_EXLOCK); in checkparttype()
/netbsd-src/sbin/veriexecctl/
H A Dveriexecctl.c247 lfd = open(file, O_RDONLY|O_EXLOCK, 0); in main()
/netbsd-src/sys/compat/ultrix/
H A Dultrix_pathname.c166 r |= ((q & 0x0100) ? O_EXLOCK : 0); in ultrix_sys_open()
/netbsd-src/tools/compat/
H A Dcompat_defs.h695 #ifndef O_EXLOCK
696 #define O_EXLOCK 0
693 #define O_EXLOCK global() macro
/netbsd-src/bin/dd/
H A Dargs.c457 { "exlock", O_EXLOCK, C_IFLAG|C_OFLAG },
/netbsd-src/usr.sbin/rpc.statd/
H A Dstatd.c496 db = dbopen(filename, O_RDWR|O_CREAT|O_NDELAY|O_EXLOCK, 0644, DB_HASH, in init_file()

12