Updated the LOCK_* #defines in the synopsis to be lexically identical
with the (Lite1) ones in fcntl.h).
This commit is contained in:
parent
cccb9a6fd9
commit
a0d83089a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user