/netbsd/external/bsd/nvi/usr.bin/nvi/ |
H A D | port.h | 142 #ifndef O_SHLOCK 143 #define O_SHLOCK 0 macro
|
H A D | compat.h | 140 #ifndef O_SHLOCK 141 #define O_SHLOCK 0 macro
|
/netbsd/sys/sys/ |
H A D | fcntl.h | 84 #define O_SHLOCK 0x00000010 /* open with shared file lock */ macro 133 #define O_MASK (O_ACCMODE|O_NONBLOCK|O_APPEND|O_SHLOCK|O_EXLOCK|\
|
/netbsd/tests/lib/libc/stdlib/ |
H A D | t_mktemp.c | 196 O_SHLOCK, O_EXLOCK, in ATF_TC_BODY() 231 O_SHLOCK, O_EXLOCK, in ATF_TC_BODY()
|
/netbsd/external/bsd/nvi/dist/dist/ |
H A D | port.h.in | 140 #ifndef O_SHLOCK 141 #define O_SHLOCK 0 macro
|
/netbsd/lib/libc/db/db/ |
H A D | db.c | 66 O_RDWR | O_SHLOCK | O_TRUNC | O_CLOEXEC) in __weak_alias()
|
/netbsd/lib/libc/stdio/ |
H A D | gettemp.c | 66 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC | in GETTEMP()
|
/netbsd/lib/libc/gen/ |
H A D | utmpx.c | 346 fd = open(file, O_WRONLY|O_APPEND|O_SHLOCK|O_CLOEXEC); in updwtmpx() 435 db = dbopen(fname, O_RDONLY|O_SHLOCK|O_CLOEXEC, 0, DB_HASH, NULL); in getlastlogx()
|
/netbsd/usr.sbin/ypbind/ |
H A D | ypbind.c | 75 #ifndef O_SHLOCK 76 #define O_SHLOCK 0 macro 151 fd = open(path, flags|O_SHLOCK, mode); in open_locked() 155 #if O_SHLOCK == 0 in open_locked()
|
/netbsd/external/bsd/blocklist/bin/ |
H A D | state.c | 81 O_RDWR|O_SHLOCK|O_TRUNC; in state_open()
|
/netbsd/bin/sh/ |
H A D | redir.c | 840 #ifndef O_SHLOCK 841 # define O_SHLOCK 0 macro 873 #define IGNFLAGS (O_ACCMODE|O_RDONLY|O_WRONLY|O_RDWR|O_SHLOCK|O_EXLOCK| \
|
/netbsd/sys/compat/ultrix/ |
H A D | ultrix_pathname.c | 165 r |= ((q & 0x0080) ? O_SHLOCK : 0); in ultrix_sys_open()
|
/netbsd/tools/compat/ |
H A D | compat_defs.h | 695 #ifndef O_SHLOCK 696 #define O_SHLOCK 0 macro
|
/netbsd/bin/dd/ |
H A D | args.c | 461 { "shlock", O_SHLOCK, C_IFLAG|C_OFLAG },
|
/netbsd/usr.bin/finger/ |
H A D | util.c | 181 lldb = dbopen(_PATH_LASTLOGX, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL); in enter_lastlog()
|
/netbsd/usr.sbin/lastlogin/ |
H A D | lastlogin.c | 304 DB *db = dbopen(logfile, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL); in dolastlogx()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hdb/ |
H A D | db.c | 301 flags |= O_SHLOCK; in _open_db()
|
/netbsd/usr.bin/db/ |
H A D | db.c | 281 oi.dbflags = O_RDONLY | O_SHLOCK; in main()
|
/netbsd/sys/compat/sunos/ |
H A D | sunos_misc.c | 701 nmode |= ((smode & 0x0080) ? O_SHLOCK : 0); in sunos_sys_open()
|
H A D | sunos_ioctl.c | 1017 { SUN_SHLOCK, O_SHLOCK },
|
/netbsd/sys/compat/sunos32/ |
H A D | sunos32_ioctl.c | 1043 { SUN_SHLOCK, O_SHLOCK },
|
H A D | sunos32_misc.c | 931 r |= ((lf & 0x0080) ? O_SHLOCK : 0); in sunos32_sys_open()
|
/netbsd/sys/kern/ |
H A D | vfs_syscalls.c | 288 if (flags & (O_EXLOCK | O_SHLOCK)) { in open_setfp()
|