summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorasou <asou@openbsd.org>2019-09-06 08:39:27 +0000
committerasou <asou@openbsd.org>2019-09-06 08:39:27 +0000
commitf6c5a09b66f7df220bcee3443fc692bc22c7793c (patch)
treeef4d6a536b3ff891ace2fcbb7a0ce177286a2b21 /lib/libc
parentAdd support for filter-reports. These allow filters to send freetext (diff)
downloadwireguard-openbsd-f6c5a09b66f7df220bcee3443fc692bc22c7793c.tar.xz
wireguard-openbsd-f6c5a09b66f7df220bcee3443fc692bc22c7793c.zip
Correct the description of EINTR and EINVAL. This looks like a mis-merge
in revision 1.30. ok deraadt@ tb@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/fcntl.214
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 87ec1d3637a..bb9277729c9 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fcntl.2,v 1.32 2018/11/10 11:54:03 anton Exp $
+.\" $OpenBSD: fcntl.2,v 1.33 2019/09/06 08:39:27 asou Exp $
.\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94
.\"
-.Dd $Mdocdate: November 10 2018 $
+.Dd $Mdocdate: September 6 2019 $
.Dt FCNTL 2
.Os
.Sh NAME
@@ -465,14 +465,16 @@ and a deadlock condition was detected.
.It Bq Er EINTR
The argument
.Fa cmd
-is invalid.
-.Pp
-The argument
-.Fa cmd
is
+.Dv F_SETLK
+or
.Dv F_SETLKW ,
and the function was interrupted by a signal.
.It Bq Er EINVAL
+The argument
+.Fa cmd
+is invalid.
+.Pp
.Fa cmd
is
.Dv F_DUPFD