mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
more fp->handle changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112011 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5d38cb056a
commit
8201522c96
5 changed files with 17 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.fgetc">
|
||||
<refnamediv>
|
||||
|
@ -14,7 +14,8 @@
|
|||
</methodsynopsis>
|
||||
<para>
|
||||
Returns a string containing a single character read from the
|
||||
file pointed to by fp. Returns &false; on EOF.
|
||||
file pointed to by <parameter>handle</parameter>.
|
||||
Returns &false; on EOF.
|
||||
</para>
|
||||
<para>
|
||||
The file pointer must be valid, and must point to a file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.fgets">
|
||||
<refnamediv>
|
||||
|
@ -15,10 +15,10 @@
|
|||
</methodsynopsis>
|
||||
<para>
|
||||
Returns a string of up to length - 1 bytes read from the file
|
||||
pointed to by fp. 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 is specified, the length
|
||||
defaults to 1k, or 1024 bytes.
|
||||
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
|
||||
is specified, the length defaults to 1k, or 1024 bytes.
|
||||
</para>
|
||||
<para>
|
||||
If an error occurs, returns &false;.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.24 -->
|
||||
<refentry id="function.fstat">
|
||||
<refnamediv>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</methodsynopsis>
|
||||
<para>
|
||||
Gathers the statistics of the file opened by the file
|
||||
pointer fp. This function is similar to the
|
||||
pointer <parameter>handle</parameter>. This function is similar to the
|
||||
<function>stat</function> function except that it operates
|
||||
on an open file pointer instead of a filename.
|
||||
</para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.ftell">
|
||||
<refnamediv>
|
||||
|
@ -13,8 +13,9 @@
|
|||
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the position of the file pointer referenced by fp; i.e.,
|
||||
its offset into the file stream.
|
||||
Returns the position of the file pointer referenced by
|
||||
<parameter>handle</parameter>; i.e., its offset into the
|
||||
file stream.
|
||||
</para>
|
||||
<para>
|
||||
If an error occurs, returns &false;.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.rewind">
|
||||
<refnamediv>
|
||||
|
@ -13,8 +13,8 @@
|
|||
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Sets the file position indicator for fp to the beginning of the
|
||||
file stream.
|
||||
Sets the file position indicator for <parameter>handle</parameter>
|
||||
to the beginning of the file stream.
|
||||
</para>
|
||||
<para>
|
||||
If an error occurs, returns 0, otherwise it returns 1.
|
||||
|
|
Loading…
Reference in a new issue