summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/dup.2
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
committerkeramida <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
commit5bd8884c66002f4da091ba3fdf9309e79aae1d86 (patch)
tree0740bbdd50b4e24e3b8d60b613944f1de59b7db7 /lib/libc/sys/dup.2
parent5777e081fa3c49e12058a541a71c4950aa3e5d21 (diff)
downloadFreeBSD-src-5bd8884c66002f4da091ba3fdf9309e79aae1d86.zip
FreeBSD-src-5bd8884c66002f4da091ba3fdf9309e79aae1d86.tar.gz
The .Fn function.
Diffstat (limited to 'lib/libc/sys/dup.2')
-rw-r--r--lib/libc/sys/dup.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2
index 2d57eab..c93ece0 100644
--- a/lib/libc/sys/dup.2
+++ b/lib/libc/sys/dup.2
@@ -48,7 +48,9 @@
.Ft int
.Fn dup2 "int oldd" "int newd"
.Sh DESCRIPTION
-.Fn Dup
+The
+.Fn dup
+function
duplicates an existing object descriptor and returns its value to
the calling process
.Fa ( newd
@@ -121,10 +123,11 @@ The external variable
.Va errno
indicates the cause of the error.
.Sh ERRORS
-.Fn Dup
+The
+.Fn dup
and
.Fn dup2
-fail if:
+functions fail if:
.Bl -tag -width Er
.It Bq Er EBADF
.Fa Oldd
OpenPOWER on IntegriCloud