reference/filesystem/functions/ftruncate.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -1,7 +1,7 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.14 -->
4
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ftruncate">
4
+
<refentry xml:id="function.ftruncate" xmlns="http://docbook.org/ns/docbook">
5
5
<refnamediv>
6
6
<refname>ftruncate</refname>
7
7
<refpurpose>Truncates a file to a given length</refpurpose>
...
...
@@ -11,11 +11,11 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>ftruncate</methodname>
14
-
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
14
+
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
15
15
<methodparam><type>int</type><parameter>size</parameter></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
-
Takes the filepointer, <parameter>handle</parameter>, and truncates the file to
18
+
Takes the filepointer, <parameter>stream</parameter>, and truncates the file to
19
19
length, <parameter>size</parameter>.
20
20
</para>
21
21
</refsect1>
...
...
@@ -25,14 +25,14 @@
25
25
<para>
26
26
<variablelist>
27
27
<varlistentry>
28
-
<term><parameter>handle</parameter></term>
28
+
<term><parameter>stream</parameter></term>
29
29
<listitem>
30
30
<para>
31
31
The file pointer.
32
32
</para>
33
33
<note>
34
34
<para>
35
-
The <parameter>handle</parameter> must be open for writing.
35
+
The <parameter>stream</parameter> must be open for writing.
36
36
</para>
37
37
</note>
38
38
</listitem>
...
...
@@ -107,7 +107,6 @@ fclose($handle);
107
107
</para>
108
108
</refsect1>
109
109
</refentry>
110
-

111
110
<!-- Keep this comment at the end of the file
112
111
Local variables:
113
112
mode: sgml
114
113