From cc2680f7dd81e06939de3ac97af7e64d140ff091 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 13 Apr 1997 13:43:06 +0000 Subject: [PATCH] Updated the LOCK_* #defines in the synopsis to be lexically identical with the (Lite1) ones in fcntl.h). --- lib/libc/sys/flock.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index 966f7a95ce88..466e3476a737 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 -.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