aboutsummaryrefslogtreecommitdiff
path: root/include/libc.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-11 14:38:44 +0000
committerrsc <devnull@localhost>2004-06-11 14:38:44 +0000
commitd2ffec702ecc02ddb00700b713865a7868d9805b (patch)
tree900d31cc37263862d926f7981fa9381de62debcd /include/libc.h
parent4f0073fec23f47ede29845f05ff5eab502be93f9 (diff)
downloadplan9port-d2ffec702ecc02ddb00700b713865a7868d9805b.tar.gz
plan9port-d2ffec702ecc02ddb00700b713865a7868d9805b.tar.bz2
plan9port-d2ffec702ecc02ddb00700b713865a7868d9805b.zip
add OLOCK
Diffstat (limited to 'include/libc.h')
-rw-r--r--include/libc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h
index 3b472e39..ecc46c2c 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -561,6 +561,7 @@ extern void freenetconninfo(NetConnInfo*);
#define ORCLOSE 64 /* or'ed in, remove on close */
#define ODIRECT 128 /* or'ed in, bypass the cache */
#define OEXCL 0x1000 /* or'ed in, exclusive use (create only) */
+#define OLOCK 0x2000 /* or'ed in, lock after opening */
#define AEXIST 0 /* accessible: exists */
#define AEXEC 1 /* execute access */