1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

Document that flock can return ENOLCK

This commit is contained in:
Doug Barton 2011-11-10 06:20:18 +00:00
parent 975be202db
commit cbbacf9bcc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227416

View File

@ -28,7 +28,7 @@
.\" @(#)flock.2 8.2 (Berkeley) 12/11/93
.\" $FreeBSD$
.\"
.Dd January 22, 2008
.Dd November 9, 2011
.Dt FLOCK 2
.Os
.Sh NAME
@ -154,6 +154,8 @@ refers to an object other than a file.
The argument
.Fa fd
refers to an object that does not support file locking.
.It Bq Er ENOLCK
A lock was requested, but no locks are available.
.El
.Sh SEE ALSO
.Xr close 2 ,