summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorasou <asou@cvs.openbsd.org>2019-09-06 08:39:28 +0000
committerasou <asou@cvs.openbsd.org>2019-09-06 08:39:28 +0000
commit01d78af24765094f9f75829958d17381c231286a (patch)
tree966259720891b1b99e4821839e1bddc04693e46a /lib
parent5ab72356fde8bab35624704f3988b32b8409b60f (diff)
Correct the description of EINTR and EINVAL. This looks like a mis-merge
in revision 1.30. ok deraadt@ tb@
Diffstat (limited to 'lib')
-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