reference/filesystem/functions/fseek.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.fseek">
3
+
<refentry xml:id="function.fseek" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>fseek</refname>
6
6
<refpurpose>Seeks on a file pointer</refpurpose>
...
...
@@ -10,13 +10,13 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>int</type><methodname>fseek</methodname>
13
-
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
13
+
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer>SEEK_SET</initializer></methodparam>
15
+
<methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer><constant>SEEK_SET</constant></initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Sets the file position indicator for the file referenced by
19
-
<parameter>handle</parameter>. The new position, measured in bytes
19
+
<parameter>stream</parameter>. The new position, measured in bytes
20
20
from the beginning of the file, is obtained by adding
21
21
<parameter>offset</parameter> to the position specified by
22
22
<parameter>whence</parameter>.
...
...
@@ -35,7 +35,7 @@
35
35
<para>
36
36
<variablelist>
37
37
<varlistentry>
38
-
<term><parameter>handle</parameter></term>
38
+
<term><parameter>stream</parameter></term>
39
39
<listitem>
40
40
&fs.file.pointer;
41
41
</listitem>
...
...
@@ -133,7 +133,6 @@ fseek($fp, 0);
133
133
</refsect1>
134
134

135
135
</refentry>
136
-

137
136
<!-- Keep this comment at the end of the file
138
137
Local variables:
139
138
mode: sgml
140
139