git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163729 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dave Barr 2004-07-20 10:25:33 +00:00
parent b02bfa1fd2
commit 8c1cadd826

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fgets">
<refnamediv>
@ -14,10 +14,10 @@
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
</methodsynopsis>
<para>
Returns a string of up to length - 1 bytes read from the file
pointed to by <parameter>handle</parameter>. Reading ends when
length - 1 bytes have been read, on a newline (which is included
in the return value), or on EOF (whichever comes first). If no length
Returns a string of up to <parameter>length</parameter> - 1 bytes read from
the file pointed to by <parameter>handle</parameter>. Reading ends when
<parameter>length</parameter> - 1 bytes have been read, on a newline (which is
included in the return value), or on EOF (whichever comes first). If no length
is specified, the length defaults to 1k, or 1024 bytes.
</para>
<para>