summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/fcntl.2
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1998-09-08 02:02:50 +0000
committerjkoshy <jkoshy@FreeBSD.org>1998-09-08 02:02:50 +0000
commite5227524a6e8f304873101160f383cc9945c7414 (patch)
tree21414bd26b0c2be4b4930a2c0fd8b5dcd6c7389d /lib/libc/sys/fcntl.2
parent3aaf774c9f2eb122544315876f3bb38b11795c20 (diff)
downloadFreeBSD-src-e5227524a6e8f304873101160f383cc9945c7414.zip
FreeBSD-src-e5227524a6e8f304873101160f383cc9945c7414.tar.gz
Use ellipsis in the synopsis, and an appropriate explanation in
the text of the manual page. Suggested by: bde
Diffstat (limited to 'lib/libc/sys/fcntl.2')
-rw-r--r--lib/libc/sys/fcntl.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 877e830..fdf1941 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -40,7 +40,7 @@
.Sh SYNOPSIS
.Fd #include <fcntl.h>
.Ft int
-.Fn fcntl "int fd" "int cmd" "int arg"
+.Fn fcntl "int fd" "int cmd" "..."
.Sh DESCRIPTION
.Fn Fcntl
provides for control over descriptors.
@@ -48,7 +48,11 @@ The argument
.Fa fd
is a descriptor to be operated on by
.Fa cmd
-as follows:
+as described below. Depending on the value of
+.Fa cmd ,
+.Nm
+can take an additional third argument
+.Fa "int arg" .
.Bl -tag -width F_GETOWNX
.It Dv F_DUPFD
Return a new descriptor as follows:
OpenPOWER on IntegriCloud