reference/filesystem/functions/fgetc.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -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.fgetc">
3
+
<refentry xml:id="function.fgetc" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>fgetc</refname>
6
6
<refpurpose>Gets character from file pointer</refpurpose>
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>fgetc</methodname>
13
-
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>fgetc</methodname>
13
+
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Gets a character from the given file pointer.
...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>handle</parameter></term>
25
+
<term><parameter>stream</parameter></term>
26
26
<listitem>
27
27
&fs.validfp.all;
28
28
</listitem>
...
...
@@ -35,7 +35,7 @@
35
35
&reftitle.returnvalues;
36
36
<para>
37
37
Returns a string containing a single character read from the file pointed
38
-
to by <parameter>handle</parameter>. Returns &false; on EOF.
38
+
to by <parameter>stream</parameter>. Returns &false; on EOF.
39
39
</para>
40
40
&return.falseproblem;
41
41
</refsect1>
...
...
@@ -81,7 +81,6 @@ while (false !== ($char = fgetc($fp))) {
81
81
</refsect1>
82
82

83
83
</refentry>
84
-

85
84
<!-- Keep this comment at the end of the file
86
85
Local variables:
87
86
mode: sgml
88
87