annotate docs/ccguide/creat.refentry @ 573:d9ab3688bb71

All function prototypes are added.
author roug
date Fri, 01 Nov 2002 10:02:34 +0000
parents 253b6096ee01
children c0da1728ed5b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
1 <refentry id="creat">
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 <refnamediv>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
3 <refname>Creat</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>create a file</refpurpose>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
5 </refnamediv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
6
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
7 <refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
8 <funcsynopsis>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
9 <funcsynopsisinfo>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
10 #include &lt;modes.h&gt;
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
11 </funcsynopsisinfo>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
12 <funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 <funcdef><function>creat</function></funcdef>
570
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
14 <paramdef>char *<parameter>fname</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
15 <paramdef>int <parameter>perm</parameter></paramdef>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
17 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
18
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
19 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
20
540
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
21 <refsect1><title>Assembler Equivalent</title>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
22 <para>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
23 os9 I$CREATE
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
24 </para>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
25 </refsect1>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
26
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
27 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
28 <para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
29 Placeholder
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
30 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
31 </refsect1>
540
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
32
552
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
33 <refsect1><title>Diagnostics</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
34 <para>
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
35 This call returns -1 if there are too many files open. If the
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
36 pathname cannot be searched, if permission to write is denied,
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
37 or if the file exists and is a directory.
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
38 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
39 </refsect1>
fcb97f0ba24b All diagnostics added.
roug
parents: 540
diff changeset
40
540
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
41 <refsect1><title>See Also</title>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
42 <para>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
43 <link linkend="write">write()</link>,
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
44 <link linkend="close">close()</link>,
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
45 <link linkend="chmod">chmod()</link>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
46 </para>
395a58bae72e All "See Also" implemented
roug
parents: 468
diff changeset
47 </refsect1>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
48 </refentry>