annotate docs/ccguide/setuid.refentry @ 2106:c4c7facbd082

Fixed up some warnings
author boisy
date Sat, 07 Oct 2006 12:11:22 +0000
parents 28cf27294683
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="setuid">
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>Setuid</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>set user 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>setuid</function></funcdef>
577
28cf27294683 All function prototypes are added.
roug
parents: 552
diff changeset
11 <paramdef>int <parameter>uid</parameter></paramdef>
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
544
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
17 <refsect1><title>Assembler Equivalent</title>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
18 <para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
19 os9 F$SUSER
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
20 </para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
21 </refsect1>
ba824286a6a0 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>
577
28cf27294683 All function prototypes are added.
roug
parents: 552
diff changeset
25 This call may be used to set the user id for the current task.
28cf27294683 All function prototypes are added.
roug
parents: 552
diff changeset
26 Setuid only works if the caller is the super user (user id 0).
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
27 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
28 </refsect1>
544
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
29
552
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
30 <refsect1><title>Diagnostics</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
31 <para>
577
28cf27294683 All function prototypes are added.
roug
parents: 552
diff changeset
32 Zero is returned from a successful call, and -1 is returned on
552
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
33 error.
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
34 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
35 </refsect1>
fcb97f0ba24b All diagnostics added.
roug
parents: 544
diff changeset
36
544
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
37 <refsect1><title>See Also</title>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
38 <para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
39 <link linkend="getuid">getuid()</link>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
40 </para>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
41 </refsect1>
ba824286a6a0 All "See Also" implemented
roug
parents: 468
diff changeset
42
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
43 </refentry>