diff options
author | ache <ache@FreeBSD.org> | 1997-08-10 18:42:39 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-08-10 18:42:39 +0000 |
commit | cda69874ef4c7bc9289ad428e079718847f8cc8f (patch) | |
tree | c1faf086a6db24e822d86b23c95aa3dee9396c85 /lib/libutil/libutil.h | |
parent | 30859a202baea2f73b6ad22eb439dc5be9313d6c (diff) | |
download | FreeBSD-src-cda69874ef4c7bc9289ad428e079718847f8cc8f.zip FreeBSD-src-cda69874ef4c7bc9289ad428e079718847f8cc8f.tar.gz |
Implement canonical locking protocol
Suggested by: joerg
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r-- | lib/libutil/libutil.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 5404a1f..d6bb5de 100644 --- a/lib/libutil/libutil.h +++ b/lib/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_ */ |