reference/strings/functions/fprintf.xml
f134250210702ab6280ab303b846679177d39f14
...
...
@@ -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.fprintf">
3
+
<refentry xml:id="function.fprintf" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>fprintf</refname>
6
6
<refpurpose>Write a formatted string to a stream</refpurpose>
...
...
@@ -10,13 +10,13 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>int</type><methodname>fprintf</methodname>
13
-
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
13
+
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>format</parameter></methodparam>
15
-
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
15
+
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Write a string produced according to <parameter>format</parameter> to the
19
-
stream resource specified by <parameter>handle</parameter>.
19
+
stream resource specified by <parameter>stream</parameter>.
20
20
</para>
21
21
</refsect1>
22
22

...
...
@@ -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
&fs.file.pointer;
31
31
</listitem>
32
32
</varlistentry>
33
33
&strings.parameter.format;
34
34
<varlistentry>
35
-
<term><parameter>...</parameter></term>
35
+
<term><parameter>values</parameter></term>
36
36
<listitem>
37
37
<para>
38
38
</para>
...
...
@@ -48,6 +48,15 @@
48
48
Returns the length of the string written.
49
49
</para>
50
50
</refsect1>
51
+
<refsect1 role="errors">
52
+
&reftitle.errors;
53
+
&strings.errors.sprintf;
54
+
</refsect1>
55
+

56
+
<refsect1 role="changelog">
57
+
&reftitle.changelog;
58
+
&strings.changelog.sprintf;
59
+
</refsect1>
51
60

52
61
<refsect1 role="examples">
53
62
&reftitle.examples;
...
...
@@ -110,7 +119,6 @@ echo "wrote $len bytes to currency.txt";
110
119
</refsect1>
111
120

112
121
</refentry>
113
-

114
122
<!-- Keep this comment at the end of the file
115
123
Local variables:
116
124
mode: sgml
117
125