cvs: phpdoc-pl /reference/filesystem/functions ftruncate.xml
| From: | Leszek Krupinski | Date: | Mon, 02 May 2005 00:03:03 +0000 |
| Subject: | cvs: phpdoc-pl /reference/filesystem/functions ftruncate.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-637@lists.php.net to get a copy of this message | ||
leszek Sun May 1 20:03:03 2005 EDT
Modified files:
/phpdoc-pl/reference/filesystem/functions ftruncate.xml
Log:
[adi] update to rev 1.7
http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/ftruncate.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-pl/reference/filesystem/functions/ftruncate.xml
diff -u phpdoc-pl/reference/filesystem/functions/ftruncate.xml:1.3
phpdoc-pl/reference/filesystem/functions/ftruncate.xml:1.4
--- phpdoc-pl/reference/filesystem/functions/ftruncate.xml:1.3 Sat Feb 26 20:09:34 2005
+++ phpdoc-pl/reference/filesystem/functions/ftruncate.xml Sun May 1 20:03:02 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.6 Maintainer: adi Status: ready -->
-<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.7 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.ftruncate">
<refnamediv>
<refname>ftruncate</refname>
@@ -17,8 +17,15 @@
Pobiera wska¼nik pliku, <parameter>uchwyt</parameter> i przycina plik do
d³ugo¶ci,
<parameter>rozmiar</parameter>. &return.success;
</para>
- <note>
- <para>
+ <note>
+ <para>
+ Wska¼nik pliku jest zmieniany tylko w trybie <emphasis>dopisywania</emphasis>.
+ W trybie <emphasis>zapisywania</emphasis> nale¿y wywo³aæ dodatkowo
+ <function>fseek</function>.
+ </para>
+ </note>
+ <note>
+ <para>
Przed PHP 4.3.3, <function>ftruncate</function> zwraca³a
<type>integer</type> o warto¶ci 1 w przypadku sukcesu, zamiast
<type>boolean</type> &true;.