summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-11-10 06:20:18 +0000
committerdougb <dougb@FreeBSD.org>2011-11-10 06:20:18 +0000
commit29c48cd31f36cdf5ee8977e51331da624725b1fe (patch)
tree36cf9a4ef47aee289bc49be9db0f0ff6aa82e870 /lib/libc/sys
parent9d2ce6cea8f2353d7b8fb2f35cb3ba34188bc8c2 (diff)
downloadFreeBSD-src-29c48cd31f36cdf5ee8977e51331da624725b1fe.zip
FreeBSD-src-29c48cd31f36cdf5ee8977e51331da624725b1fe.tar.gz
Document that flock can return ENOLCK
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/flock.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2
index 93f1f66..6106bf4 100644
--- a/lib/libc/sys/flock.2
+++ b/lib/libc/sys/flock.2
@@ -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 ,
OpenPOWER on IntegriCloud