comparison docs/ccguide/dup.refentry @ 541:7a7bf9925e42

All "See Also" implemented
author roug
date Mon, 14 Oct 2002 19:08:28 +0000 (2002-10-14)
parents 60b821f18853
children
comparison
equal deleted inserted replaced
540:395a58bae72e 541:7a7bf9925e42
6 6
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <funcsynopsis> 8 <funcsynopsis>
9 <funcprototype> 9 <funcprototype>
10 <funcdef><function>dup</function></funcdef> 10 <funcdef><function>dup</function></funcdef>
11 <paramdef>type <parameter>arg1</parameter></paramdef> 11 <paramdef>int <parameter>pn</parameter></paramdef>
12 </funcprototype> 12 </funcprototype>
13 </funcsynopsis> 13 </funcsynopsis>
14 14
15 </refsynopsisdiv> 15 </refsynopsisdiv>
16 16
17 <refsect1><title>Assembler Equivalent</title>
18 <para>
19 os9 I$DUP
20 </para>
21 </refsect1>
17 <refsect1><title>Description</title> 22 <refsect1><title>Description</title>
18 <para> 23 <para>
19 Placeholder 24 Dup takes the path number, "pn", as returned from "open()" or
25 "creat()" and returns another path number associated with the
26 same file.
27 </para>
28 </refsect1>
29 <refsect1><title>Diagnostics</title>
30 <para>
31 A -1 is returned is the call fails because there are too many
32 files open or the path nmber is invalid.
33 </para>
34 </refsect1>
35 <refsect1><title>See Also</title>
36 <para>
37 <link linkend="open">open()</link>,
38 <link linkend="creat">creat()</link>,
39 <link linkend="close">close()</link>
20 </para> 40 </para>
21 </refsect1> 41 </refsect1>
22 </refentry> 42 </refentry>