bjori           Sun Sep  2 22:11:56 2007 UTC

  Modified files:              
    /phpdoc/en/reference/filesystem/functions   ftruncate.xml 
  Log:
  Improve parameter description
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/ftruncate.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/ftruncate.xml
diff -u phpdoc/en/reference/filesystem/functions/ftruncate.xml:1.11 
phpdoc/en/reference/filesystem/functions/ftruncate.xml:1.12
--- phpdoc/en/reference/filesystem/functions/ftruncate.xml:1.11 Sun Sep  2 
22:03:33 2007
+++ phpdoc/en/reference/filesystem/functions/ftruncate.xml      Sun Sep  2 
22:11:56 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
 <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.14 -->
 <refentry xmlns="http://docbook.org/ns/docbook"; xml:id="function.ftruncate">
  <refnamediv>
@@ -28,6 +28,11 @@
       <para>
        The file pointer.
       </para>
+      <note>
+       <para>
+        The <parameter>handle</parameter> must be open for writing.
+       </para>
+      </note>
      </listitem>
     </varlistentry>
     <varlistentry>
@@ -36,6 +41,16 @@
       <para>
        The size to truncate to.
       </para>
+      <note>
+       <para>
+        If <parameter>size</parameter> is larger than the file it is extended
+        with null bytes.
+       </para>
+       <para>
+        If <parameter>size</parameter> is smaller than the file the extra data
+        will be lost.
+       </para>
+      </note>
      </listitem>
     </varlistentry>
    </variablelist>

Reply via email to