cvs: phpdoc-pl /reference/filesystem/functions ftruncate.xml
| From: | Leszek Krupinski | Date: | Sun, 27 Feb 2005 01:09:34 +0000 |
| Subject: | cvs: phpdoc-pl /reference/filesystem/functions ftruncate.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-488@lists.php.net to get a copy of this message | ||
leszek Sat Feb 26 20:09:34 2005 EDT
Modified files:
/phpdoc-pl/reference/filesystem/functions ftruncate.xml
Log:
[adi] update to rev 1.6
http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/ftruncate.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-pl/reference/filesystem/functions/ftruncate.xml
diff -u phpdoc-pl/reference/filesystem/functions/ftruncate.xml:1.2
phpdoc-pl/reference/filesystem/functions/ftruncate.xml:1.3
--- phpdoc-pl/reference/filesystem/functions/ftruncate.xml:1.2 Wed Apr 17 03:16:09 2002
+++ phpdoc-pl/reference/filesystem/functions/ftruncate.xml Sat Feb 26 20:09:34 2005
@@ -1,28 +1,33 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- splitted from ./pl/functions/filesystem.xml, last change in rev 1.1 -->
-<!-- last change to 'ftruncate' in en/ tree in rev 1.14 -->
-<!-- EN-Revision: 1.2 Maintainer: adi Status: partial -->
-<!-- OLD-Revision: 1.115/EN.1.14 -->
+<!-- EN-Revision: 1.6 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.ftruncate">
<refnamediv>
<refname>ftruncate</refname>
- <refpurpose>
- Przycina plik do podanej d³ugo¶ci.
- </refpurpose>
+ <refpurpose>Przycina plik do podanej d³ugo¶ci</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</title>
<methodsynopsis>
- <type>int</type><methodname>ftruncate</methodname>
-
<methodparam><type>int</type><parameter>fp</parameter></methodparam>
+ <type>bool</type><methodname>ftruncate</methodname>
+
<methodparam><type>resource</type><parameter>uchwyt</parameter></methodparam>
<methodparam><type>int</type><parameter>rozmiar</parameter></methodparam>
</methodsynopsis>
<para>
- Pobiera wska¼nik pliku, fp, i przycina plik do d³ugo¶ci, rozmiar.
- </para>
- <para>
- &return.success;
+ Pobiera wska¼nik pliku, <parameter>uchwyt</parameter> i przycina plik do
d³ugo¶ci,
+ <parameter>rozmiar</parameter>. &return.success;
</para>
+ <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;.
+ </para>
+ </note>
+ <para>
+ Patrz tak¿e: <function>fopen</function> i
+ <function>fseek</function>.
+ </para>
</refsect1>
</refentry>