diff options
author | bde <bde@FreeBSD.org> | 1997-04-13 13:43:06 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-13 13:43:06 +0000 |
commit | 611c08ecf2fa1a25d5585c7a03fbd62f0a4cbfc9 (patch) | |
tree | 2753939a09a30753b27de52137ec4fdb3a2a8b1d /lib/libc/sys/flock.2 | |
parent | d6e9aa93dcc0d53a85c5bea5672237a1f2fe96f8 (diff) | |
download | FreeBSD-src-611c08ecf2fa1a25d5585c7a03fbd62f0a4cbfc9.zip FreeBSD-src-611c08ecf2fa1a25d5585c7a03fbd62f0a4cbfc9.tar.gz |
Updated the LOCK_* #defines in the synopsis to be lexically identical
with the (Lite1) ones in fcntl.h).
Diffstat (limited to 'lib/libc/sys/flock.2')
-rw-r--r-- | lib/libc/sys/flock.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index 966f7a9..466e347 100644 --- a/lib/libc/sys/flock.2 +++ b/lib/libc/sys/flock.2 @@ -39,10 +39,10 @@ .Nd "apply or remove an advisory lock on an open file" .Sh SYNOPSIS .Fd #include <sys/file.h> -.Fd #define LOCK_SH 1 /* shared lock */ -.Fd #define LOCK_EX 2 /* exclusive lock */ -.Fd #define LOCK_NB 4 /* don't block when locking */ -.Fd #define LOCK_UN 8 /* unlock */ +.Fd #define LOCK_SH 0x01 /* shared file lock */ +.Fd #define LOCK_EX 0x02 /* exclusive file lock */ +.Fd #define LOCK_NB 0x04 /* don't block when locking */ +.Fd #define LOCK_UN 0x08 /* unlock file */ .Ft int .Fn flock "int fd" "int operation" .Sh DESCRIPTION |