annotate docs/ccguide/setstat.refentry @ 1592:ad9f45622a19

comment updates
author boisy
date Thu, 27 May 2004 17:25:27 +0000
parents dc24f1974396
children
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="setstat">
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>Setstat</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>set file status</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;sgstat.h&gt;
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
11 </funcsynopsisinfo>
576
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
12
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
13 <funcsynopsisinfo>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
14 /* code 0 */
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
15 </funcsynopsisinfo>
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 <funcdef><function>setstat</function></funcdef>
576
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
18 <paramdef>int <parameter>code</parameter></paramdef>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
19 <paramdef>int <parameter>filenum</parameter></paramdef>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
20 <paramdef>char *<parameter>buffer</parameter></paramdef>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
21 </funcprototype>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
22
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
23 <funcsynopsisinfo>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
24 /* code 2 */
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
25 </funcsynopsisinfo>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
26 <funcprototype>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
27 <funcdef><function>setstat</function></funcdef>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
28 <paramdef>int <parameter>code</parameter></paramdef>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
29 <paramdef>int <parameter>filenum</parameter></paramdef>
73e2566fb640 All function prototypes are added.
roug
parents: 544
diff changeset
30 <paramdef>long <parameter>size</parameter></paramdef>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
31 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
32 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
33
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
34 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
35
544
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
36 <refsect1><title>Assembler Equivalent</title>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
37 <para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
38 os9 F$SETSTT
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
39 </para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
40 </refsect1>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
41
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
42 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
43 <para>
606
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
44 For a detailed explanation of this call, see the OS-9 System
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
45 Programmer's Manual.
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
46 </para>
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
47 <para>
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
48 "Filenum" must be the path number of a currently open file.
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
49 The only values for code at this time are 0 and 2. When "code"
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
50 is 0, "buffer" should be the address of a 32 byte structure
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
51 which is written to the option section of the path descriptor
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
52 of the file. The header file contains definitions of various
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
53 structures maintained by OS-9 for use by the programmer. When
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
54 code is 2, "size" should be a long integer specifying the new
dc24f1974396 All refentries finished.
roug
parents: 576
diff changeset
55 file size.
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
56 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
57 </refsect1>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
58 </refentry>