ljbuesch Tue May 8 03:47:42 2007 UTC
Modified files: /phpdoc/en/reference/posix/functions posix-ctermid.xml posix-get-last-error.xml posix-getcwd.xml posix-getegid.xml posix-geteuid.xml posix-getgid.xml posix-getpgid.xml posix-getrlimit.xml posix-setegid.xml posix-setgid.xml posix-setuid.xml posix-strerror.xml Log: Removed shebang's as requested by Nuno. Fixed structure of refsects
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-ctermid.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-ctermid.xml diff -u phpdoc/en/reference/posix/functions/posix-ctermid.xml:1.6 phpdoc/en/reference/posix/functions/posix-ctermid.xml:1.7 --- phpdoc/en/reference/posix/functions/posix-ctermid.xml:1.6 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-ctermid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.posix-ctermid"> <refnamediv> <refname>posix_ctermid</refname> @@ -19,6 +19,15 @@ </para> </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Upon successful completion, returns <type>string</type> of the pathname to + the current controlling terminal. Otherwise &false; is returned and errno + is set, which can be checked with <function>posix_get_last_error</function>. + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -29,7 +38,6 @@ </para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo "I am running from ".posix_ctermid(); ?> @@ -39,15 +47,6 @@ </para> </refsect1> - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Upon successful completion, returns <type>string</type> of the pathname to - the current controlling terminal. Otherwise &false; is returned and errno - is set, which can be checked with <function>posix_get_last_error</function>. - </para> - </refsect1> - <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-get-last-error.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-get-last-error.xml diff -u phpdoc/en/reference/posix/functions/posix-get-last-error.xml:1.5 phpdoc/en/reference/posix/functions/posix-get-last-error.xml:1.6 --- phpdoc/en/reference/posix/functions/posix-get-last-error.xml:1.5 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-get-last-error.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.posix-get-last-error"> <refnamediv> <refname>posix_get_last_error</refname> @@ -38,7 +38,6 @@ </para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php posix_kill(999459,SIGKILL); echo 'Your error returned was '.posix_get_last_error(); //Your error was ___ http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-getcwd.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-getcwd.xml diff -u phpdoc/en/reference/posix/functions/posix-getcwd.xml:1.9 phpdoc/en/reference/posix/functions/posix-getcwd.xml:1.10 --- phpdoc/en/reference/posix/functions/posix-getcwd.xml:1.9 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-getcwd.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry id="function.posix-getcwd"> <refnamediv> <refname>posix_getcwd</refname> @@ -19,6 +19,15 @@ </para> </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns a <type>string</type> of the absolute pathname on success. + On error, returns &false; and sets errno which can be checked with + <function>posix_get_last_error</function>. + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -30,7 +39,6 @@ </para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo 'My current working directory is '.posix_getcwd(); ?> @@ -42,8 +50,9 @@ <refsect1 role="notes"> &reftitle.notes; + <note> <para> - This function can fail on can fail on + This function can fail on <itemizedlist> <listitem> <simpara>Read or Search permission was denied</simpara> @@ -53,15 +62,7 @@ </listitem> </itemizedlist> </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns a <type>string</type> of the absolute pathname on success. - On error, returns &false; and sets errno which can be checked with - <function>posix_get_last_error</function>. - </para> + </note> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-getegid.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-getegid.xml diff -u phpdoc/en/reference/posix/functions/posix-getegid.xml:1.5 phpdoc/en/reference/posix/functions/posix-getegid.xml:1.6 --- phpdoc/en/reference/posix/functions/posix-getegid.xml:1.5 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-getegid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.posix-getegid"> <refnamediv> <refname>posix_getegid</refname> @@ -16,14 +16,7 @@ Return the numeric effective group ID of the current process. </para> </refsect1> - <refsect1 role="notes"> - &reftitle.notes; - <para> - <function>posix_getegid</function> is different than - <function>posix_getgid</function> by you can change the effective group ID of - a calling process using the <function>posix_setegid</function>. - </para> - </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> @@ -42,7 +35,6 @@ </para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo 'My real group id is '.posix_getgid(); //20 posix_setegid(40); @@ -55,6 +47,15 @@ </para> </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + <para> + <function>posix_getegid</function> is different than + <function>posix_getgid</function> by you can change the effective group ID of + a calling process using the <function>posix_setegid</function>. + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-geteuid.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-geteuid.xml diff -u phpdoc/en/reference/posix/functions/posix-geteuid.xml:1.5 phpdoc/en/reference/posix/functions/posix-geteuid.xml:1.6 --- phpdoc/en/reference/posix/functions/posix-geteuid.xml:1.5 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-geteuid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.posix-geteuid"> <refnamediv> <refname>posix_geteuid</refname> @@ -30,7 +30,6 @@ the real id and the effective id.</para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo posix_getuid().'\n'; //10001 echo posix_geteuid().'\n'; //10001 http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-getgid.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-getgid.xml diff -u phpdoc/en/reference/posix/functions/posix-getgid.xml:1.5 phpdoc/en/reference/posix/functions/posix-getgid.xml:1.6 --- phpdoc/en/reference/posix/functions/posix-getgid.xml:1.5 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-getgid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.posix-getgid"> <refnamediv> <refname>posix_getgid</refname> @@ -17,6 +17,13 @@ </para> </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns the real group id, as an <type>integer</type>. + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -28,7 +35,6 @@ </para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo 'My real group id is '.posix_getgid(); //20 posix_setegid(40); @@ -57,12 +63,6 @@ </para> </refsect1> - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns the real group id, as an <type>integer</type>. - </para> - </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-getpgid.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-getpgid.xml diff -u phpdoc/en/reference/posix/functions/posix-getpgid.xml:1.5 phpdoc/en/reference/posix/functions/posix-getpgid.xml:1.6 --- phpdoc/en/reference/posix/functions/posix-getpgid.xml:1.5 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-getpgid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.posix-getpgid"> <refnamediv> <refname>posix_getpgid</refname> @@ -41,16 +41,6 @@ </para> </refsect1> - <refsect1 role="notes"> - &reftitle.notes; - <para> - This is a not POSIX function, but is common on BSD and System V - systems. If your system does not support this function, then it - will not be included at compile time. You may check if this - function exists with <function>function_exists</function>. - </para> - </refsect1> - <refsect1 role="examples"> &reftitle.examples; <para> @@ -67,6 +57,18 @@ </para> </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + This is a not POSIX function, but is common on BSD and System V + systems. If your system does not support this function, then it + will not be included at compile time. You may check if this + function exists with <function>function_exists</function>. + </para> + </note> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-getrlimit.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-getrlimit.xml diff -u phpdoc/en/reference/posix/functions/posix-getrlimit.xml:1.7 phpdoc/en/reference/posix/functions/posix-getrlimit.xml:1.8 --- phpdoc/en/reference/posix/functions/posix-getrlimit.xml:1.7 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-getrlimit.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry id="function.posix-getrlimit"> <refnamediv> <refname>posix_getrlimit</refname> @@ -115,16 +115,6 @@ </para> </refsect1> - <refsect1 role="notes"> - &reftitle.notes; - <para> - This is a not POSIX function, but is common on BSD and System V - systems. If your system does not support this function, then it - will not be included at compile time. You may check if this - function exists with <function>function_exists</function>. - </para> - </refsect1> - <refsect1 role="examples"> &reftitle.examples; <para> @@ -172,6 +162,18 @@ </para> </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + This is a not POSIX function, but is common on BSD and System V + systems. If your system does not support this function, then it + will not be included at compile time. You may check if this + function exists with <function>function_exists</function>. + </para> + </note> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-setegid.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-setegid.xml diff -u phpdoc/en/reference/posix/functions/posix-setegid.xml:1.6 phpdoc/en/reference/posix/functions/posix-setegid.xml:1.7 --- phpdoc/en/reference/posix/functions/posix-setegid.xml:1.6 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-setegid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.posix-setegid"> <refnamediv> <refname>posix_setegid</refname> @@ -53,7 +53,6 @@ </para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo 'My real group id is '.posix_getgid(); //20 posix_setegid(40); http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-setgid.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-setgid.xml diff -u phpdoc/en/reference/posix/functions/posix-setgid.xml:1.6 phpdoc/en/reference/posix/functions/posix-setgid.xml:1.7 --- phpdoc/en/reference/posix/functions/posix-setgid.xml:1.6 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-setgid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.posix-setgid"> <refnamediv> <refname>posix_setgid</refname> @@ -62,7 +62,6 @@ </para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo 'My real group id is '.posix_getgid(); //20 posix_setgid(40); http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-setuid.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-setuid.xml diff -u phpdoc/en/reference/posix/functions/posix-setuid.xml:1.6 phpdoc/en/reference/posix/functions/posix-setuid.xml:1.7 --- phpdoc/en/reference/posix/functions/posix-setuid.xml:1.6 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-setuid.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.posix-setuid"> <refnamediv> <refname>posix_setuid</refname> @@ -51,7 +51,6 @@ it to a different value.</para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php echo posix_getuid().'\n'; //10001 echo posix_geteuid().'\n'; //10001 http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/posix/functions/posix-strerror.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/posix/functions/posix-strerror.xml diff -u phpdoc/en/reference/posix/functions/posix-strerror.xml:1.6 phpdoc/en/reference/posix/functions/posix-strerror.xml:1.7 --- phpdoc/en/reference/posix/functions/posix-strerror.xml:1.6 Thu May 3 18:03:24 2007 +++ phpdoc/en/reference/posix/functions/posix-strerror.xml Tue May 8 03:47:42 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.posix-strerror"> <refnamediv> <refname>posix_strerror</refname> @@ -54,7 +54,6 @@ exist, then will print out the corresponding error message.</para> <programlisting role="php"> <![CDATA[ -#!/usr/local/bin/php <?php posix_kill(50,SIGKILL); echo posix_strerror(posix_get_last_error())."\n";