From 07631eab810f9f64fa1b26b90c49d75c2cc041b3 Mon Sep 17 00:00:00 2001 From: Logan Buesching Date: Tue, 8 May 2007 03:47:42 +0000 Subject: [PATCH] Removed shebang's as requested by Nuno. Fixed structure of refsects git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@235205 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/posix/functions/posix-ctermid.xml | 21 ++++++++-------- .../posix/functions/posix-get-last-error.xml | 3 +-- reference/posix/functions/posix-getcwd.xml | 25 ++++++++++--------- reference/posix/functions/posix-getegid.xml | 21 ++++++++-------- reference/posix/functions/posix-geteuid.xml | 3 +-- reference/posix/functions/posix-getgid.xml | 16 ++++++------ reference/posix/functions/posix-getpgid.xml | 24 ++++++++++-------- reference/posix/functions/posix-getrlimit.xml | 24 ++++++++++-------- reference/posix/functions/posix-setegid.xml | 3 +-- reference/posix/functions/posix-setgid.xml | 3 +-- reference/posix/functions/posix-setuid.xml | 3 +-- reference/posix/functions/posix-strerror.xml | 3 +-- 12 files changed, 74 insertions(+), 75 deletions(-) diff --git a/reference/posix/functions/posix-ctermid.xml b/reference/posix/functions/posix-ctermid.xml index 0948c94278..077113b31a 100644 --- a/reference/posix/functions/posix-ctermid.xml +++ b/reference/posix/functions/posix-ctermid.xml @@ -1,5 +1,5 @@ - + posix_ctermid @@ -19,6 +19,15 @@ + + &reftitle.returnvalues; + + Upon successful completion, returns string of the pathname to + the current controlling terminal. Otherwise &false; is returned and errno + is set, which can be checked with posix_get_last_error. + + + &reftitle.examples; @@ -29,7 +38,6 @@ @@ -39,15 +47,6 @@ echo "I am running from ".posix_ctermid(); - - &reftitle.returnvalues; - - Upon successful completion, returns string of the pathname to - the current controlling terminal. Otherwise &false; is returned and errno - is set, which can be checked with posix_get_last_error. - - - &reftitle.seealso; diff --git a/reference/posix/functions/posix-get-last-error.xml b/reference/posix/functions/posix-get-last-error.xml index de770ad7df..a2e527ff02 100644 --- a/reference/posix/functions/posix-get-last-error.xml +++ b/reference/posix/functions/posix-get-last-error.xml @@ -1,5 +1,5 @@ - + posix_get_last_error @@ -38,7 +38,6 @@ - + posix_getcwd @@ -19,6 +19,15 @@ + + &reftitle.returnvalues; + + Returns a string of the absolute pathname on success. + On error, returns &false; and sets errno which can be checked with + posix_get_last_error. + + + &reftitle.examples; @@ -30,7 +39,6 @@ @@ -42,8 +50,9 @@ echo 'My current working directory is '.posix_getcwd(); &reftitle.notes; + - This function can fail on can fail on + This function can fail on Read or Search permission was denied @@ -53,15 +62,7 @@ echo 'My current working directory is '.posix_getcwd(); - - - - &reftitle.returnvalues; - - Returns a string of the absolute pathname on success. - On error, returns &false; and sets errno which can be checked with - posix_get_last_error. - + diff --git a/reference/posix/functions/posix-getegid.xml b/reference/posix/functions/posix-getegid.xml index a318592248..d6657651ff 100644 --- a/reference/posix/functions/posix-getegid.xml +++ b/reference/posix/functions/posix-getegid.xml @@ -1,5 +1,5 @@ - + posix_getegid @@ -16,14 +16,7 @@ Return the numeric effective group ID of the current process. - - &reftitle.notes; - - posix_getegid is different than - posix_getgid by you can change the effective group ID of - a calling process using the posix_setegid. - - + &reftitle.returnvalues; @@ -42,7 +35,6 @@ + + &reftitle.notes; + + posix_getegid is different than + posix_getgid by you can change the effective group ID of + a calling process using the posix_setegid. + + + &reftitle.seealso; diff --git a/reference/posix/functions/posix-geteuid.xml b/reference/posix/functions/posix-geteuid.xml index 3f23d0d6ab..b1f89bb9a3 100644 --- a/reference/posix/functions/posix-geteuid.xml +++ b/reference/posix/functions/posix-geteuid.xml @@ -1,5 +1,5 @@ - + posix_geteuid @@ -30,7 +30,6 @@ the real id and the effective id. - + posix_getgid @@ -17,6 +17,13 @@ + + &reftitle.returnvalues; + + Returns the real group id, as an integer. + + + &reftitle.examples; @@ -28,7 +35,6 @@ - - &reftitle.returnvalues; - - Returns the real group id, as an integer. - - + posix_getpgid @@ -41,16 +41,6 @@ - - &reftitle.notes; - - 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_exists. - - - &reftitle.examples; @@ -67,6 +57,18 @@ echo posix_getpgid(); //35 + + &reftitle.notes; + + + 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_exists. + + + + &reftitle.seealso; diff --git a/reference/posix/functions/posix-getrlimit.xml b/reference/posix/functions/posix-getrlimit.xml index bbb8814918..cb40ecb2be 100644 --- a/reference/posix/functions/posix-getrlimit.xml +++ b/reference/posix/functions/posix-getrlimit.xml @@ -1,5 +1,5 @@ - + posix_getrlimit @@ -115,16 +115,6 @@ - - &reftitle.notes; - - 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_exists. - - - &reftitle.examples; @@ -172,6 +162,18 @@ Array + + &reftitle.notes; + + + 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_exists. + + + + &reftitle.seealso; diff --git a/reference/posix/functions/posix-setegid.xml b/reference/posix/functions/posix-setegid.xml index 5bdf8d4ebf..543dc143a1 100644 --- a/reference/posix/functions/posix-setegid.xml +++ b/reference/posix/functions/posix-setegid.xml @@ -1,5 +1,5 @@ - + posix_setegid @@ -53,7 +53,6 @@ - + posix_setgid @@ -62,7 +62,6 @@ - + posix_setuid @@ -51,7 +51,6 @@ it to a different value. - + posix_strerror @@ -54,7 +54,6 @@ exist, then will print out the corresponding error message.