svn commit: r227681 - stable/9/lib/libc/sys
Doug Barton
dougb at FreeBSD.org
Fri Nov 18 21:10:13 UTC 2011
Author: dougb
Date: Fri Nov 18 21:10:13 2011
New Revision: 227681
URL: http://svn.freebsd.org/changeset/base/227681
Log:
MFC r227416:
Document that flock can return ENOLCK
Approved by: re (kib)
Modified:
stable/9/lib/libc/sys/flock.2
Directory Properties:
stable/9/lib/libc/ (props changed)
stable/9/lib/libc/stdtime/ (props changed)
Modified: stable/9/lib/libc/sys/flock.2
==============================================================================
--- stable/9/lib/libc/sys/flock.2 Fri Nov 18 21:09:03 2011 (r227680)
+++ stable/9/lib/libc/sys/flock.2 Fri Nov 18 21:10:13 2011 (r227681)
@@ -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 ,
More information about the svn-src-stable-9
mailing list