summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-07-03 07:20:25 +0000
committerderaadt <deraadt@openbsd.org>1996-07-03 07:20:25 +0000
commit3829eda76b3c9f1f489e35feb437e6e9331aeeb8 (patch)
treee5add0dbdf6c58e6445f365dd39635983ec929e8
parentcannot check for < NFS_MINPACKET on some transports; from guy@netapp.com (diff)
downloadwireguard-openbsd-3829eda76b3c9f1f489e35feb437e6e9331aeeb8.tar.xz
wireguard-openbsd-3829eda76b3c9f1f489e35feb437e6e9331aeeb8.zip
document EOPNOTSUPP error return; from kgor@ksg.com
-rw-r--r--lib/libc/sys/flock.22
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2
index 135e4bb48d9..e38879e5804 100644
--- a/lib/libc/sys/flock.2
+++ b/lib/libc/sys/flock.2
@@ -133,6 +133,8 @@ is an invalid descriptor.
The argument
.Fa fd
refers to an object other than a file.
+.It Bq Er EOPNOTSUPP
+The referenced descriptor is not of the correct type.
.El
.Sh SEE ALSO
.Xr open 2 ,