From d4088ba4faf28e4d5dbc03972ad819680bcd9c35 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Mon, 27 Jan 2003 02:50:41 +0000 Subject: [PATCH] entity usage git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@113554 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/fgetc.xml | 10 +++++----- reference/filesystem/functions/file.xml | 6 +++--- reference/filesystem/functions/flock.xml | 13 ++++++------- reference/filesystem/functions/fseek.xml | 10 +++++----- reference/filesystem/functions/ftruncate.xml | 5 ++--- .../filesystem/functions/move-uploaded-file.xml | 4 ++-- reference/filesystem/functions/popen.xml | 8 ++++---- reference/filesystem/functions/rmdir.xml | 10 +++++----- reference/filesystem/functions/umask.xml | 4 ++-- 9 files changed, 34 insertions(+), 36 deletions(-) diff --git a/reference/filesystem/functions/fgetc.xml b/reference/filesystem/functions/fgetc.xml index fdbc70a7a9..8f2f1a0434 100644 --- a/reference/filesystem/functions/fgetc.xml +++ b/reference/filesystem/functions/fgetc.xml @@ -1,5 +1,5 @@ - + @@ -8,10 +8,10 @@ Description - - stringfgetc - resourcehandle - + + stringfgetc + resourcefp + Returns a string containing a single character read from the file pointed to by handle. diff --git a/reference/filesystem/functions/file.xml b/reference/filesystem/functions/file.xml index 57d96133e2..4c4e9cbe74 100644 --- a/reference/filesystem/functions/file.xml +++ b/reference/filesystem/functions/file.xml @@ -1,5 +1,5 @@ - + @@ -66,8 +66,8 @@ $html = implode ('', file ('http://www.example.com/')); &tip.fopen-wrapper; See also readfile, - fopen, fsockopen, and - popen, and file_get_contents, + fopen, fsockopen, + popen, file_get_contents, and include. diff --git a/reference/filesystem/functions/flock.xml b/reference/filesystem/functions/flock.xml index e8f5bbc685..e819e85f3b 100644 --- a/reference/filesystem/functions/flock.xml +++ b/reference/filesystem/functions/flock.xml @@ -1,5 +1,5 @@ - + @@ -30,28 +30,28 @@ To acquire a shared lock (reader), set - operation to LOCK_SH (set to 1 prior to + operation toLOCK_SH (set to 1 prior to PHP 4.0.1). To acquire an exclusive lock (writer), set - operation to LOCK_EX (set to 2 prior to + operation to LOCK_EX (set to 2 prior to PHP 4.0.1). To release a lock (shared or exclusive), set - operation to LOCK_UN (set to 3 prior to + operation to LOCK_UN (set to 3 prior to PHP 4.0.1). If you don't want flock to block while - locking, add LOCK_NB (4 prior to PHP 4.0.1) to + locking, add LOCK_NB (4 prior to PHP 4.0.1) to operation. @@ -65,8 +65,7 @@ errno condition) - flock returns &true; on success and &false; on - error (e.g. when a lock could not be acquired). + &return.success; diff --git a/reference/filesystem/functions/fseek.xml b/reference/filesystem/functions/fseek.xml index f122753d3b..402fff4a33 100644 --- a/reference/filesystem/functions/fseek.xml +++ b/reference/filesystem/functions/fseek.xml @@ -1,5 +1,5 @@ - + @@ -22,15 +22,15 @@ whence, whose values are defined as follows: - SEEK_SET - Set position equal to offset bytes. - SEEK_CUR - Set position to current location plus offset. - SEEK_END - Set position to end-of-file plus offset. + SEEK_SET - Set position equal to offset bytes. + SEEK_CUR - Set position to current location plus offset. + SEEK_END - Set position to end-of-file plus offset. (To move to a position before the end-of-file, you need to pass a negative value in offset.) If whence is not specified, it is assumed to be - SEEK_SET. + SEEK_SET. Upon success, returns 0; otherwise, returns -1. Note that seeking diff --git a/reference/filesystem/functions/ftruncate.xml b/reference/filesystem/functions/ftruncate.xml index f8ae8c4f8c..25d5229fa4 100644 --- a/reference/filesystem/functions/ftruncate.xml +++ b/reference/filesystem/functions/ftruncate.xml @@ -1,5 +1,5 @@ - + @@ -15,8 +15,7 @@ Takes the filepointer, handle, and truncates the file to - length, size. This function returns &true; on - success and &false; on failure. + length, size. &return.success; diff --git a/reference/filesystem/functions/move-uploaded-file.xml b/reference/filesystem/functions/move-uploaded-file.xml index 5793edce10..16ce6dc38e 100644 --- a/reference/filesystem/functions/move-uploaded-file.xml +++ b/reference/filesystem/functions/move-uploaded-file.xml @@ -1,5 +1,5 @@ - + @@ -42,7 +42,7 @@ move_uploaded_file is not affected by the normal - safe-mode UID-restrictions. This is not unsafe because + &safemode; UID-restrictions. This is not unsafe because move_uploaded_file only operates on files uploaded via PHP. diff --git a/reference/filesystem/functions/popen.xml b/reference/filesystem/functions/popen.xml index 28475bcd17..576e5175c8 100644 --- a/reference/filesystem/functions/popen.xml +++ b/reference/filesystem/functions/popen.xml @@ -1,5 +1,5 @@ - + @@ -35,15 +35,15 @@ - - + + <function>popen</function> examole ]]> - + diff --git a/reference/filesystem/functions/rmdir.xml b/reference/filesystem/functions/rmdir.xml index 615ff6a8a2..32ca6db6d8 100644 --- a/reference/filesystem/functions/rmdir.xml +++ b/reference/filesystem/functions/rmdir.xml @@ -1,5 +1,5 @@ - + @@ -8,10 +8,10 @@ Description - - boolrmdir - stringdirname - + + intrmdir + stringdirname + Attempts to remove the directory named by dirname. The directory must be empty, and the relevant permissions must permit this. diff --git a/reference/filesystem/functions/umask.xml b/reference/filesystem/functions/umask.xml index dc834835d8..061b50633e 100644 --- a/reference/filesystem/functions/umask.xml +++ b/reference/filesystem/functions/umask.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intumask - intmask + intmask umask sets PHP's umask to mask & 0777 and