summaryrefslogtreecommitdiff
path: root/misc/sys/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/file.h')
-rw-r--r--misc/sys/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/sys/file.h b/misc/sys/file.h
index 86abfa18de..e6494fa333 100644
--- a/misc/sys/file.h
+++ b/misc/sys/file.h
@@ -40,6 +40,7 @@ __BEGIN_DECLS
#define LOCK_SH 1 /* Shared lock. */
#define LOCK_EX 2 /* Exclusive lock. */
#define LOCK_UN 8 /* Unlock. */
+#define __LOCK_ATOMIC 16 /* Atomic update. */
/* Can be OR'd in to one of the above. */
#define LOCK_NB 4 /* Don't block when locking. */