reference/filesystem/functions/fpassthru.xml
98f2a733bc07e1c6d8fddb1d865b09fd79bdbea2
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.fpassthru">
3
+
<refentry xml:id="function.fpassthru" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>fpassthru</refname>
6
6
<refpurpose>Output all remaining data on a file pointer</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>int</type><methodname>fpassthru</methodname>
13
-
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
13
+
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Reads to EOF on the given file pointer from the current position and
...
...
@@ -34,7 +34,7 @@
34
34
<para>
35
35
<variablelist>
36
36
<varlistentry>
37
-
<term><parameter>handle</parameter></term>
37
+
<term><parameter>stream</parameter></term>
38
38
<listitem>
39
39
&fs.validfp.all;
40
40
</listitem>
...
...
@@ -46,9 +46,7 @@
46
46
<refsect1 role="returnvalues">
47
47
&reftitle.returnvalues;
48
48
<para>
49
-
If an error occurs, <function>fpassthru</function> returns
50
-
&false;. Otherwise, <function>fpassthru</function> returns
51
-
the number of characters read from <parameter>handle</parameter>
49
+
Returns the number of characters read from <parameter>stream</parameter>
52
50
and passed through to the output.
53
51
</para>
54
52
</refsect1>
...
...
@@ -111,7 +109,6 @@ exit;
111
109
</refsect1>
112
110

113
111
</refentry>
114
-

115
112
<!-- Keep this comment at the end of the file
116
113
Local variables:
117
114
mode: sgml
118
115