For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > April 2005 > cvs: phpdoc /en/reference/filesystem/functions ftruncate.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/filesystem/functions ftruncate.xml
Jakub Vrana

2005-04-29, 3:57 pm

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/...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>fs</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;.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com