Module Name: src
Committed By: njoly
Date: Mon Jun 1 09:56:06 UTC 2009
Modified Files:
src/lib/libc/sys: fcntl.2
Log Message:
Note that fcntl(2) returns EINVAL for invalid command.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/sys/fcntl.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/fcntl.2
diff -u src/lib/libc/sys/fcntl.2:1.34 src/lib/libc/sys/fcntl.2:1.35
--- src/lib/libc/sys/fcntl.2:1.34 Thu Jan 4 00:02:43 2007
+++ src/lib/libc/sys/fcntl.2 Mon Jun 1 09:56:06 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: fcntl.2,v 1.34 2007/01/04 00:02:43 wiz Exp $
+.\" $NetBSD: fcntl.2,v 1.35 2009/06/01 09:56:06 njoly Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -448,6 +448,11 @@
.Dv F_SETLKW ,
and the function was interrupted by a signal.
.It Bq Er EINVAL
+The argument
+.Fa cmd
+is invalid.
+.Pp
+The argument
.Fa cmd
is
.Dv F_DUPFD