From 768cd0bd0f70369dd553dd0b00f523ad8a4f8a8e Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sun, 2 Sep 2007 22:03:33 +0000 Subject: [PATCH] New-doc-style git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242079 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/ftruncate.xml | 81 ++++++++++++++++---- 1 file changed, 68 insertions(+), 13 deletions(-) diff --git a/reference/filesystem/functions/ftruncate.xml b/reference/filesystem/functions/ftruncate.xml index 49c3c5224c..63e98fac33 100644 --- a/reference/filesystem/functions/ftruncate.xml +++ b/reference/filesystem/functions/ftruncate.xml @@ -1,13 +1,13 @@ - + ftruncate Truncates a file to a given length - - Description + + &reftitle.description; boolftruncate resourcehandle @@ -15,23 +15,78 @@ Takes the filepointer, handle, and truncates the file to - length, size. &return.success; + length, size. + + + &reftitle.parameters; + + + + handle + + + The file pointer. + + + + + size + + + The size to truncate to. + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + PHP 4.3.3 + + Prior to this release ftruncate returned an + integer value of 1 on success, instead of + boolean &true;. + + + + + + + + + &reftitle.notes; The file pointer is not changed. - - - Prior to PHP 4.3.3, ftruncate returns an - integer value of 1 on success, instead of - boolean &true;. - - + + + &reftitle.seealso; - See also fopen and - fseek. + + fopen + fseek +