annotate docs/ccguide/setpr.refentry @ 3220:9ccec98c9897

Updated IDE Driver makefile so it will have place holders for dsk, dskclean, and dskcopy so that make does not error out when chaining into the driver tree to build disk images where applicable.
author David Ladd <drencor-xeen@users.sourceforge.net>
date Wed, 20 Dec 2017 16:10:50 -0600
parents 10b50f909a23
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="setpr">
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>Setpr</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>set process priority</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>setpr</function></funcdef>
575
10b50f909a23 All function prototypes are added.
roug
parents: 552
diff changeset
11 <paramdef>int <parameter>pid</parameter></paramdef>
10b50f909a23 All function prototypes are added.
roug
parents: 552
diff changeset
12 <paramdef>int <parameter>priority</parameter></paramdef>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
15
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
17
544
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
18 <refsect1><title>Assembler Equivalent</title>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
19 <para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
20 os9 F$SPRIOR
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
21 </para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
22 </refsect1>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
23
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
24 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
25 <para>
575
10b50f909a23 All function prototypes are added.
roug
parents: 552
diff changeset
26 SETPR sets the process identified by "pid" (process id) to have
10b50f909a23 All function prototypes are added.
roug
parents: 552
diff changeset
27 a priority of "priority". The lowest level is 0 and the
10b50f909a23 All function prototypes are added.
roug
parents: 552
diff changeset
28 highest is 255.
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
29 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
30 </refsect1>
552
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
31
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
32 <refsect1><title>Diagnostics</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
33 <para>
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
34 The call will return -1 if the process does not have the same
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
35 user id as the caller.
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
36 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
37 </refsect1>
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
38
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
39 </refentry>