reference/filesystem/functions/rewind.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.rewind">
3
+
<refentry xml:id="function.rewind" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>rewind</refname>
6
6
<refpurpose>Rewind the position of a file pointer</refpurpose>
...
...
@@ -10,17 +10,16 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>rewind</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
-
Sets the file position indicator for <parameter>handle</parameter>
16
+
Sets the file position indicator for <parameter>stream</parameter>
17
17
to the beginning of the file stream.
18
18
</para>
19
19
<note>
20
20
<para>
21
21
If you have opened the file in append ("a" or "a+") mode, any data you
22
-
write to the file will always be appended, regardless of the file
23
-
position.
22
+
write to the file will always be appended, regardless of the file pointer position.
24
23
</para>
25
24
</note>
26
25
</refsect1>
...
...
@@ -30,7 +29,7 @@
30
29
<para>
31
30
<variablelist>
32
31
<varlistentry>
33
-
<term><parameter>handle</parameter></term>
32
+
<term><parameter>stream</parameter></term>
34
33
<listitem>
35
34
<para>
36
35
The file pointer must be valid, and must point to a file
...
...
@@ -93,7 +92,6 @@ Foolly long sentence.
93
92
</refsect1>
94
93

95
94
</refentry>
96
-

97
95
<!-- Keep this comment at the end of the file
98
96
Local variables:
99
97
mode: sgml
100
98