summaryrefslogtreecommitdiff
path: root/lib/libc/sys/dup.2
diff options
context:
space:
mode:
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 .