aboutsummaryrefslogtreecommitdiff
path: root/man/man3/dup.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-03 06:40:20 +0000
committerrsc <devnull@localhost>2005-01-03 06:40:20 +0000
commit058b0118a52061ad57694c01fc8763b22b789c4d (patch)
tree6685f04dea5ed68edaa34998c976aed34c55fe94 /man/man3/dup.3
parent2600337aa704efbeba8201e88147a764b4fd2b90 (diff)
downloadplan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.gz
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.bz2
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.zip
Some man pages.
Diffstat (limited to 'man/man3/dup.3')
-rw-r--r--man/man3/dup.318
1 files changed, 7 insertions, 11 deletions
diff --git a/man/man3/dup.3 b/man/man3/dup.3
index e3cee43b..3c7312d7 100644
--- a/man/man3/dup.3
+++ b/man/man3/dup.3
@@ -25,18 +25,14 @@ will use
for the new file descriptor
(closing any old file associated with
.IR newfd ).
-File descriptors are allocated dynamically,
-so to prevent unwarranted growth of the file descriptor table,
-.I dup
-requires that
-.I newfd
-be no greater than 20 more than the highest file descriptor ever used by
-the program.
.SH SOURCE
-.B /usr/local/plan9/src/libc/9syscall
-.SH SEE ALSO
-.IR intro (3),
-.IR dup (3)
+.B /usr/local/plan9/src/lib9/dup.c
.SH DIAGNOSTICS
Sets
.IR errstr .
+.SH BUGS
+.I Dup
+is a macro for
+.I p9dup
+to avoid name conflicts with the Unix function; see
+.IR intro (3).