summaryrefslogtreecommitdiffstats
path: root/private/os2/client/thunk/include/sys/locking.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--private/os2/client/thunk/include/sys/locking.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/private/os2/client/thunk/include/sys/locking.h b/private/os2/client/thunk/include/sys/locking.h
new file mode 100644
index 000000000..fc097cb3b
--- /dev/null
+++ b/private/os2/client/thunk/include/sys/locking.h
@@ -0,0 +1,16 @@
+/***
+*sys\locking.h - flags for locking() function
+*
+* Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* This file defines the flags for the locking() function.
+* [System V]
+*
+****/
+
+#define LK_UNLCK 0 /* unlock the file region */
+#define LK_LOCK 1 /* lock the file region */
+#define LK_NBLCK 2 /* non-blocking lock */
+#define LK_RLCK 3 /* lock for writing */
+#define LK_NBRLCK 4 /* non-blocking lock for writing */