This commit is contained in:
Michael Kerrisk 2007-12-23 22:02:16 +00:00
parent d3b03141a9
commit 54f73b77a1
1 changed files with 3 additions and 3 deletions

View File

@ -42,8 +42,8 @@ Apply or remove an advisory lock on the open file specified by
The parameter The parameter
.I operation .I operation
is one of the following: is one of the following:
.RS .RS 4
.TP 1.0i .TP 9
.B LOCK_SH .B LOCK_SH
Place a shared lock. Place a shared lock.
More than one process may hold a shared lock for a given file More than one process may hold a shared lock for a given file
@ -56,8 +56,8 @@ file at a given time.
.TP .TP
.B LOCK_UN .B LOCK_UN
Remove an existing lock held by this process. Remove an existing lock held by this process.
.sp
.RE .RE
.PP
A call to A call to
.BR flock () .BR flock ()
may block if an incompatible lock is held by another process. may block if an incompatible lock is held by another process.