annotate docs/ccguide/getpid.refentry @ 2342:82c9672489a0

Made change to workings of SHARE. bit to what I believe is the proper way.
author boisy
date Fri, 15 Jan 2010 15:54:53 +0000
parents 94ff9d15614f
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="getpid">
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>Getpid</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>get the task id</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>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
9 <funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
10 <funcdef><function>getpid</function></funcdef>
636
94ff9d15614f Convert to Docbook XML format
roug
parents: 597
diff changeset
11 <void/>
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 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
15 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
17 <refsect1><title>Assembler Equivalent</title>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
18 <para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
19 os9 F$ID
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
20 </para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
21 </refsect1>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
22
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
23 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
24 <para>
597
2e76fecc5ca0 All refentries finished.
roug
parents: 570
diff changeset
25 A number unique to the current running task is often useful in
2e76fecc5ca0 All refentries finished.
roug
parents: 570
diff changeset
26 creating names for temporary files. This call returns the
2e76fecc5ca0 All refentries finished.
roug
parents: 570
diff changeset
27 task's system id (as returned to its parent by "os9fork").
466
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 </refsect1>
597
2e76fecc5ca0 All refentries finished.
roug
parents: 570
diff changeset
30 <refsect1><title>Description</title>
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
31 <para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
32 <link linkend="os9fork">os9fork()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
33 Standard Library function
597
2e76fecc5ca0 All refentries finished.
roug
parents: 570
diff changeset
34 <link linkend="mktemp">mktemp</link>.
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
35 </para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
36 </refsect1>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
37 </refentry>