changeset 577:28cf27294683

All function prototypes are added.
author roug
date Fri, 01 Nov 2002 10:02:34 +0000
parents 73e2566fb640
children ed2a3bb12458
files docs/ccguide/setuid.refentry
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/docs/ccguide/setuid.refentry	Fri Nov 01 10:02:34 2002 +0000
+++ b/docs/ccguide/setuid.refentry	Fri Nov 01 10:02:34 2002 +0000
@@ -8,7 +8,7 @@
 <funcsynopsis>
 <funcprototype>
   <funcdef><function>setuid</function></funcdef>
-  <paramdef>type <parameter>arg1</parameter></paramdef>
+  <paramdef>int <parameter>uid</parameter></paramdef>
 </funcprototype>
 </funcsynopsis>
 
@@ -22,13 +22,14 @@
 
 <refsect1><title>Description</title>
 <para>
-Placeholder
+This call may be used to set the user id for the current task.
+Setuid only works if the caller is the super user (user id 0).
 </para>
 </refsect1>
 
 <refsect1><title>Diagnostics</title>
 <para>
-Zero id returned from a successful call, and -1 is returned on
+Zero is returned from a successful call, and -1 is returned on
 error.
 </para>
 </refsect1>