Clarify behavior of fread on network streams.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133790 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sara Golemon 2003-06-30 18:21:03 +00:00
parent 6efa7a6686
commit 73283f81e8

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.25 -->
<refentry id="function.fread">
<refnamediv>
@ -17,8 +17,9 @@
<function>fread</function> reads up to
<parameter>length</parameter> bytes from the file pointer
referenced by <parameter>handle</parameter>. Reading stops when
<parameter>length</parameter> bytes have been read or EOF
(end of file) reached, whichever comes first.
<parameter>length</parameter> bytes have been read, EOF
(end of file) is reached, or (for network streams) when a
packet becomes available, whichever comes first.
</simpara>
<para>
<informalexample>