From d02adb5102af464144763de484e24457c801949c Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 10 Aug 1997 18:42:39 +0000 Subject: Implement canonical locking protocol Suggested by: joerg --- libutil/libutil.h | 6 ++++-- 1 file 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_ */ -- cgit v1.2.3