diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-18 05:12:14 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-18 05:12:14 +0000 |
commit | f29d8bd9c9c901b81d8fadc341786c43528e63c1 (patch) | |
tree | a5fc4e4696d058bee8f5a8c5498044c06a963bda /lib/libc/sys/dup.2 | |
parent | 906e3d9014b754421b64647e705b3cca2e9a7c01 (diff) |
Another round of man page cleanup, this time to remove more hard sentence
breaks and getting rid of short lines, making these files easier to work with.
Diffstat (limited to 'lib/libc/sys/dup.2')
-rw-r--r-- | lib/libc/sys/dup.2 | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2 index 6b7a4842637..09ebf6cd98f 100644 --- a/lib/libc/sys/dup.2 +++ b/lib/libc/sys/dup.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dup.2,v 1.7 1999/06/29 14:09:53 aaron Exp $ +.\" $OpenBSD: dup.2,v 1.8 2000/10/18 05:12:08 aaron Exp $ .\" $NetBSD: dup.2,v 1.4 1995/02/27 12:32:21 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -56,16 +56,13 @@ the calling process .Fn dup oldd ) . The argument .Fa oldd -is a small non-negative integer index in -the per-process descriptor table. The value must be less -than the size of the table, which is returned by +is a small non-negative integer index in the per-process descriptor table. +The value must be less than the size of the table, which is returned by .Xr getdtablesize 3 . -The new descriptor returned by the call -is the lowest numbered descriptor +The new descriptor returned by the call is the lowest numbered descriptor currently not in use by the process. .Pp -The object referenced by the descriptor does not distinguish -between +The object referenced by the descriptor does not distinguish between .Fa oldd and .Fa newd @@ -94,8 +91,8 @@ In .Fn dup2 , the value of the new descriptor .Fa newd -is specified. If this descriptor is already -in use, the descriptor is first deallocated as if a +is specified. +If this descriptor is already in use, it is first deallocated as if a .Xr close 2 call had been done first. .Sh RETURN VALUES |