fcntl.2: Add an explicit note that mandatory locking is not in POSIX

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-30 12:23:41 +02:00
parent f5cdb4b0fc
commit 9044058e60
1 changed files with 4 additions and 1 deletions

View File

@ -552,7 +552,6 @@ then details about one of these locks are returned via
as described above for as described above for
.BR F_GETLK . .BR F_GETLK .
.SS Mandatory locking .SS Mandatory locking
(Non-POSIX.)
.IR Warning : .IR Warning :
the Linux implementation of mandatory locking is unreliable. the Linux implementation of mandatory locking is unreliable.
See BUGS below. See BUGS below.
@ -598,6 +597,10 @@ permission bit (see
.BR chmod (1) .BR chmod (1)
and and
.BR chmod (2)). .BR chmod (2)).
Mandatory locking is not specified by POSIX.
Some other systems also support mandatory locking,
although the details of how to enable it vary across systems.
.SS Managing signals .SS Managing signals
.BR F_GETOWN , .BR F_GETOWN ,
.BR F_SETOWN , .BR F_SETOWN ,