hholzgra                Sun Dec 16 06:51:32 2001 EDT

  Modified files:              
    /phpdoc/en/functions        posix.xml 
  Log:
  added documentation for seteuid() and setegid()
  
  
Index: phpdoc/en/functions/posix.xml
diff -u phpdoc/en/functions/posix.xml:1.17 phpdoc/en/functions/posix.xml:1.18
--- phpdoc/en/functions/posix.xml:1.17  Wed Dec 12 15:47:20 2001
+++ phpdoc/en/functions/posix.xml       Sun Dec 16 06:51:32 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
  <reference id="ref.posix">
   <title>POSIX functions</title>
   <titleabbrev>POSIX</titleabbrev>
@@ -179,7 +179,7 @@
    <refnamediv>
     <refname>posix_setuid</refname> 
     <refpurpose>
-     Set the effective UID of the current process
+     Set the UID of the current process
     </refpurpose>
    </refnamediv>
    <refsect1>
@@ -202,11 +202,38 @@
    </refsect1>
   </refentry>
 
+  <refentry id="function.posix-seteuid">
+   <refnamediv>
+    <refname>posix_seteuid</refname> 
+    <refpurpose>
+     Set the effective UID of the current process
+    </refpurpose>
+   </refnamediv>
+   <refsect1>
+    <title>Description</title>
+    <funcsynopsis>
+     <funcprototype>
+      <funcdef>bool <function>posix_seteuid</function></funcdef>
+      <paramdef>int <parameter>uid</parameter></paramdef>
+     </funcprototype>
+    </funcsynopsis>
+    <para>
+     Set the real user ID of the current process. This is a privileged
+     function and you need appropriate privileges (usually root) on
+     your system to be able to perform this function.
+    </para>
+    <para>
+     Returns &true; on success, &false; otherwise. See also
+     <function>posix_setgid</function>.
+    </para>
+   </refsect1>
+  </refentry>
+
   <refentry id="function.posix-setgid">
    <refnamediv>
     <refname>posix_setgid</refname> 
     <refpurpose>
-     Set the effective GID of the current process
+     Set the GID of the current process
     </refpurpose>
    </refnamediv>
    <refsect1>
@@ -224,6 +251,32 @@
      appropriate order of function calls is
      <function>posix_setgid</function> first,
      <function>posix_setuid</function> last.
+    </para>
+    <para>
+     Returns &true; on success, &false; otherwise.
+    </para>
+   </refsect1>
+  </refentry>
+
+  <refentry id="function.posix-setegid">
+   <refnamediv>
+    <refname>posix_setegid</refname> 
+    <refpurpose>
+     Set the effective GID of the current process
+    </refpurpose>
+   </refnamediv>
+   <refsect1>
+    <title>Description</title>
+    <funcsynopsis>
+     <funcprototype>
+      <funcdef>bool <function>posix_setegid</function></funcdef>
+      <paramdef>int <parameter>gid</parameter></paramdef>
+     </funcprototype>
+    </funcsynopsis>
+    <para>
+     Set the effective group ID of the current process. This is a
+     privileged function and you need appropriate privileges (usually
+     root) on your system to be able to perform this function.
     </para>
     <para>
      Returns &true; on success, &false; otherwise.


Reply via email to