cvs: phpdoc-pl /reference/filesystem/functions fclose.xml
| From: | Leszek Krupinski | Date: | Mon, 09 Feb 2004 01:58:31 +0000 |
| Subject: | cvs: phpdoc-pl /reference/filesystem/functions fclose.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-261@lists.php.net to get a copy of this message | ||
leszek Sun Feb 8 20:58:31 2004 EDT
Modified files:
/phpdoc-pl/reference/filesystem/functions fclose.xml
Log:
[adi] update to rev. 1.5
http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/fclose.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-pl/reference/filesystem/functions/fclose.xml
diff -u phpdoc-pl/reference/filesystem/functions/fclose.xml:1.2
phpdoc-pl/reference/filesystem/functions/fclose.xml:1.3
--- phpdoc-pl/reference/filesystem/functions/fclose.xml:1.2 Wed Apr 17 03:16:09 2002
+++ phpdoc-pl/reference/filesystem/functions/fclose.xml Sun Feb 8 20:58:31 2004
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- splitted from ./pl/functions/filesystem.xml, last change in rev 1.1 -->
-<!-- last change to 'fclose' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.2 Maintainer: adi Status: partial -->
-<!-- OLD-Revision: 1.115/EN.1.2 -->
+<!-- EN-Revision: 1.5 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.fclose">
<refnamediv>
<refname>fclose</refname>
@@ -12,10 +10,10 @@
<title>Opis</title>
<methodsynopsis>
<type>bool</type><methodname>fclose</methodname>
-
<methodparam><type>int</type><parameter>fp</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>uchwyt</parameter></methodparam>
</methodsynopsis>
<para>
- Wska¼nik pliku <parameter>fp</parameter> jest zamykany.
+ Zamyka wska¼nik pliku <parameter>uchwyt</parameter>.
</para>
<para>
&return.success;
@@ -24,8 +22,24 @@
Wska¼nik pliku musi byæ poprawny i musi wskazywaæ na plik
poprawnie otwarty przez <function>fopen</function> lub
<function>fsockopen</function>.
- </para>
- </refsect1>
+ </para>
+ <para>
+ <example>
+ <title>Prosty przyk³ad <function>fclose</function></title>
+ <programlisting role="php">
+ <![CDATA[
+ <?php
+
+ $uchwyt = fopen('plik.txt', 'r');
+
+ fclose($uchwyt);
+
+ ?>
+ ]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file