reference/filesystem/functions/ftell.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.ftell">
3
+
<refentry xml:id="function.ftell" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>ftell</refname>
6
6
<refpurpose>Returns the current position of the file read/write pointer</refpurpose>
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>ftell</methodname>
13
-
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>ftell</methodname>
13
+
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Returns the position of the file pointer referenced by <parameter>handle</parameter>.
16
+
Returns the position of the file pointer referenced by <parameter>stream</parameter>.
17
17
</para>
18
18
</refsect1>
19
19

...
...
@@ -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
<para>
28
28
The file pointer must be valid, and must point to a file successfully
...
...
@@ -40,11 +40,12 @@
40
40
&reftitle.returnvalues;
41
41
<para>
42
42
Returns the position of the file pointer referenced by
43
-
<parameter>handle</parameter> as an integer; i.e., its offset into the file stream.
43
+
<parameter>stream</parameter> as an integer; i.e., its offset into the file stream.
44
44
</para>
45
45
<para>
46
46
If an error occurs, returns &false;.
47
47
</para>
48
+
&fs.file.32bit;
48
49
</refsect1>
49
50

50
51
<refsect1 role="examples">
...
...
@@ -85,7 +86,6 @@ fclose($fp);
85
86
</refsect1>
86
87

87
88
</refentry>
88
-

89
89
<!-- Keep this comment at the end of the file
90
90
Local variables:
91
91
mode: sgml
92
92