summaryrefslogtreecommitdiffstats
path: root/libutil
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-08-10 18:42:39 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-08-10 18:42:39 +0000
commitd02adb5102af464144763de484e24457c801949c (patch)
tree67e69603d90da2e891a992e07872e18c8d73ff70 /libutil
parent6cb59eb40218f6f9f9125e1da40e09387554aa21 (diff)
downloadpw-darwin-d02adb5102af464144763de484e24457c801949c.tar.gz
pw-darwin-d02adb5102af464144763de484e24457c801949c.tar.zst
pw-darwin-d02adb5102af464144763de484e24457c801949c.zip
Implement canonical locking protocol
Suggested by: joerg
Diffstat (limited to 'libutil')
-rw-r--r--libutil/libutil.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index 5404a1f..d6bb5de 100644
--- a/libutil/libutil.h
+++ b/libutil/libutil.h
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file providing the above
* conditions are met.
*
- * $Id: libutil.h,v 1.8 1997/05/12 10:36:13 brian Exp $
+ * $Id: libutil.h,v 1.9 1997/05/19 10:04:15 peter Exp $
*/
#ifndef _LIBUTIL_H_
@@ -51,7 +51,9 @@ __END_DECLS
#define UU_LOCK_OK (0)
#define UU_LOCK_OPEN_ERR (-1)
#define UU_LOCK_READ_ERR (-2)
-#define UU_LOCK_SEEK_ERR (-3)
+#define UU_LOCK_CREAT_ERR (-3)
#define UU_LOCK_WRITE_ERR (-4)
+#define UU_LOCK_LINK_ERR (-5)
+#define UU_LOCK_TRY_ERR (-6)
#endif /* !_LIBUTIL_H_ */