cvs: phpdoc /en/reference/filesystem/functions ftruncate.xml

From: Date: Fri, 29 Apr 2005 14:19:04 +0000
Subject: cvs: phpdoc /en/reference/filesystem/functions ftruncate.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368108@lists.php.net to get a copy of this message
vrana Fri Apr 29 10:19:04 2005 EDT Modified files: /phpdoc/en/reference/filesystem/functions ftruncate.xml Log: File pointer movement (bug #32889) http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/ftruncate.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/filesystem/functions/ftruncate.xml diff -u phpdoc/en/reference/filesystem/functions/ftruncate.xml:1.6 phpdoc/en/reference/filesystem/functions/ftruncate.xml:1.7 --- phpdoc/en/reference/filesystem/functions/ftruncate.xml:1.6 Sun Jun 22 21:05:48 2003 +++ phpdoc/en/reference/filesystem/functions/ftruncate.xml Fri Apr 29 10:19:03 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.14 --> <refentry id="function.ftruncate"> <refnamediv> @@ -19,6 +19,13 @@ </para> <note> <para> + The file pointer is changed only in <emphasis>append</emphasis> mode. In + <emphasis>write</emphasis> mode, additional <function>fseek</function> + call is needed. + </para> + </note> + <note> + <para> Prior to PHP 4.3.3, <function>ftruncate</function> returns an <type>integer</type> value of 1 on success, instead of <type>boolean</type> &true;.

« previous php.doc (#969368108) next »