diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-10-19 07:29:28 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-10-19 07:29:28 +0000 |
| commit | e1d6264d9feaed449e70f288ebdd40d8abae818c (patch) | |
| tree | c3c8c2c31ecf22c1e9cb32458e485d02a695d3c6 /man2/dup.2 | |
| parent | f8fc5a2301bcf0cbfaa1db15adedde386e26a081 (diff) | |
| download | man-pages-e1d6264d9feaed449e70f288ebdd40d8abae818c.tar.gz | |
Manual fixes for parentheses formatting
Diffstat (limited to 'man2/dup.2')
| -rw-r--r-- | man2/dup.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man2/dup.2 b/man2/dup.2 index de7f505e07..1f12c699cb 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -40,7 +40,9 @@ dup, dup2 \- duplicate a file descriptor .BI "int dup2(int " oldfd ", int " newfd ); .fi .SH DESCRIPTION -.BR dup "() and " dup2 () +.BR dup () +and +.BR dup2 () create a copy of the file descriptor .IR oldfd . @@ -68,7 +70,9 @@ uses the lowest-numbered unused descriptor for the new descriptor. .RI "makes " newfd " be the copy of " oldfd ", closing " newfd first if necessary. .SH "RETURN VALUE" -.BR dup "() and " dup2 () +.BR dup () +and +.BR dup2 () return the new descriptor, or \-1 if an error occurred (in which case, .I errno is set appropriately). |
