reference/strings/functions/vfprintf.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.vfprintf">
3
+
<refentry xml:id="function.vfprintf" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>vfprintf</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>vfprintf</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><type>array</type><parameter>args</parameter></methodparam>
15
+
<methodparam><type>array</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
<para>
22
22
Operates as <function>fprintf</function> but accepts an array of
...
...
@@ -29,23 +29,15 @@
29
29
<para>
30
30
<variablelist>
31
31
<varlistentry>
32
-
<term><parameter>handle</parameter></term>
32
+
<term><parameter>stream</parameter></term>
33
33
<listitem>
34
34
<para>
35
35
</para>
36
36
</listitem>
37
37
</varlistentry>
38
+
&strings.parameter.format;
38
39
<varlistentry>
39
-
<term><parameter>format</parameter></term>
40
-
<listitem>
41
-
<para>
42
-
See <function>sprintf</function> for a description of
43
-
<parameter>format</parameter>.
44
-
</para>
45
-
</listitem>
46
-
</varlistentry>
47
-
<varlistentry>
48
-
<term><parameter>args</parameter></term>
40
+
<term><parameter>values</parameter></term>
49
41
<listitem>
50
42
<para>
51
43
</para>
...
...
@@ -62,6 +54,16 @@
62
54
</para>
63
55
</refsect1>
64
56

57
+
<refsect1 role="errors">
58
+
&reftitle.errors;
59
+
&strings.errors.vsprintf;
60
+
</refsect1>
61
+

62
+
<refsect1 role="changelog">
63
+
&reftitle.changelog;
64
+
&strings.changelog.vsprintf;
65
+
</refsect1>
66
+

65
67
<refsect1 role="examples">
66
68
&reftitle.examples;
67
69
<para>
...
...
@@ -88,16 +90,18 @@ vfprintf($fp, "%04d-%02d-%02d", array($year, $month, $day));
88
90
<simplelist>
89
91
<member><function>printf</function></member>
90
92
<member><function>sprintf</function></member>
93
+
<member><function>fprintf</function></member>
94
+
<member><function>vprintf</function></member>
95
+
<member><function>vsprintf</function></member>
91
96
<member><function>sscanf</function></member>
92
97
<member><function>fscanf</function></member>
93
-
<member><function>vsprintf</function></member>
94
98
<member><function>number_format</function></member>
99
+
<member><function>date</function></member>
95
100
</simplelist>
96
101
</para>
97
102
</refsect1>
98
103

99
104
</refentry>
100
-

101
105
<!-- Keep this comment at the end of the file
102
106
Local variables:
103
107
mode: sgml
104
108