summaryrefslogtreecommitdiff
path: root/lib/libc/sys/dup.2
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
commit56f6529fc36c6db13ad6ff247464d6b0c9e0d023 (patch)
tree370910d2e05f30a3e4f78b5160a518c3222aa9f9 /lib/libc/sys/dup.2
parent7e10459e58879c6c2e91c7f14687227390272c68 (diff)
- change references to nil to null; tschroed@acm.org
- remove trailing spaces from end of lines - add some .Dv - change -1 to \-1, so `-' is taken as a negative sign - other misc formatting fixes
Diffstat (limited to 'lib/libc/sys/dup.2')
-rw-r--r--lib/libc/sys/dup.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2
index 5bd878a28fa..6b7a4842637 100644
--- a/lib/libc/sys/dup.2
+++ b/lib/libc/sys/dup.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dup.2,v 1.6 1999/05/23 14:10:51 aaron Exp $
+.\" $OpenBSD: dup.2,v 1.7 1999/06/29 14:09:53 aaron Exp $
.\" $NetBSD: dup.2,v 1.4 1995/02/27 12:32:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -90,7 +90,7 @@ additional
call.
The close-on-exec flag on the new file descriptor is unset.
.Pp
-In
+In
.Fn dup2 ,
the value of the new descriptor
.Fa newd
@@ -99,7 +99,7 @@ in use, the descriptor is first deallocated as if a
.Xr close 2
call had been done first.
.Sh RETURN VALUES
-The value -1 is returned if an error occurs in either call.
+The value \-1 is returned if an error occurs in either call.
The external variable
.Va errno
indicates the cause of the error.
@@ -130,5 +130,5 @@ Too many descriptors are active.
.Fn dup
and
.Fn dup2
-are expected to conform to
+are expected to conform to
.St -p1003.1-88 .