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;.

Reply via email to