cvs: phpdoc /en/reference/filesystem/functions fread.xml
| From: | Kalle Sommer Nielsen | Date: | Thu, 14 Aug 2008 10:14:43 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions fread.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2029@lists.php.net to get a copy of this message | ||
kalle Thu Aug 14 10:14:43 2008 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions fread.xml
Log:
Fixes #43728 (An addition to fread)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/fread.xml?r1=1.25&r2=1.26&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/fread.xml
diff -u phpdoc/en/reference/filesystem/functions/fread.xml:1.25
phpdoc/en/reference/filesystem/functions/fread.xml:1.26
--- phpdoc/en/reference/filesystem/functions/fread.xml:1.25 Wed Nov 21 15:18:39 2007
+++ phpdoc/en/reference/filesystem/functions/fread.xml Thu Aug 14 10:14:43 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.25 $ -->
+<!-- $Revision: 1.26 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.fread">
<refnamediv>
<refname>fread</refname>
@@ -160,6 +160,14 @@
than the code above.
</para>
</note>
+ <note>
+ <para>
+ Note that <function>fread</function> reads from the current position of
+ the file pointer. Use <function>ftell</function> to find the current
+ position of the pointer and <function>rewind</function> to rewind the
+ pointer position.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">
@@ -175,6 +183,8 @@
<member><function>fscanf</function></member>
<member><function>file</function></member>
<member><function>fpassthru</function></member>
+ <member><function>ftell</function></member>
+ <member><function>rewind</function></member>
</simplelist>
</para>
</refsect1>