• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/share/doc/arm-arm-none-eabi/html/libc/
1<html lang="en">
2<head>
3<title>vfwprintf - Untitled</title>
4<meta http-equiv="Content-Type" content="text/html">
5<meta name="description" content="Untitled">
6<meta name="generator" content="makeinfo 4.13">
7<link title="Top" rel="start" href="index.html#Top">
8<link rel="up" href="Stdio.html#Stdio" title="Stdio">
9<link rel="prev" href="vfscanf.html#vfscanf" title="vfscanf">
10<link rel="next" href="vfwscanf.html#vfwscanf" title="vfwscanf">
11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12<meta http-equiv="Content-Style-Type" content="text/css">
13<style type="text/css"><!--
14  pre.display { font-family:inherit }
15  pre.format  { font-family:inherit }
16  pre.smalldisplay { font-family:inherit; font-size:smaller }
17  pre.smallformat  { font-family:inherit; font-size:smaller }
18  pre.smallexample { font-size:smaller }
19  pre.smalllisp    { font-size:smaller }
20  span.sc    { font-variant:small-caps }
21  span.roman { font-family:serif; font-weight:normal; } 
22  span.sansserif { font-family:sans-serif; font-weight:normal; } 
23--></style>
24<link rel="stylesheet" type="text/css" href="../cs.css">
25</head>
26<body>
27<div class="node">
28<a name="vfwprintf"></a>
29<p>
30Next:&nbsp;<a rel="next" accesskey="n" href="vfwscanf.html#vfwscanf">vfwscanf</a>,
31Previous:&nbsp;<a rel="previous" accesskey="p" href="vfscanf.html#vfscanf">vfscanf</a>,
32Up:&nbsp;<a rel="up" accesskey="u" href="Stdio.html#Stdio">Stdio</a>
33<hr>
34</div>
35
36<h3 class="section">4.70 <code>vfwprintf</code>, <code>vwprintf</code>, <code>vswprintf</code>&mdash;wide character format argument list</h3>
37
38<p><a name="index-vfwprintf-343"></a><a name="index-g_t_005fvfwprintf_005fr-344"></a><a name="index-vwprintf-345"></a><a name="index-g_t_005fvwprintf_005fr-346"></a><a name="index-vswprintf-347"></a><a name="index-g_t_005fvswprintf_005fr-348"></a><strong>Synopsis</strong>
39<pre class="example">     #include &lt;stdio.h&gt;
40     #include &lt;stdarg.h&gt;
41     #include &lt;wchar.h&gt;
42     int vwprintf(const wchar_t *<var>fmt</var>, va_list <var>list</var>);
43     int vfwprintf(FILE *<var>fp</var>, const wchar_t *<var>fmt</var>, va_list <var>list</var>);
44     int vswprintf(wchar_t *<var>str</var>, size_t <var>size</var>, const wchar_t *<var>fmt</var>,
45         va_list <var>list</var>);
46     
47     int _vwprintf_r(struct _reent *<var>reent</var>, const wchar_t *<var>fmt</var>,
48         va_list <var>list</var>);
49     int _vfwprintf_r(struct _reent *<var>reent</var>, FILE *<var>fp</var>,
50         const wchar_t *<var>fmt</var>, va_list <var>list</var>);
51     int _vswprintf_r(struct _reent *<var>reent</var>, wchar_t *<var>str</var>,
52         size_t <var>size</var>, const wchar_t *<var>fmt</var>, va_list <var>list</var>);
53     
54</pre>
55   <p><strong>Description</strong><br>
56<code>vwprintf</code>, <code>vfwprintf</code> and <code>vswprintf</code> are (respectively) variants
57of <code>wprintf</code>, <code>fwprintf</code> and <code>swprintf</code>.  They differ only in allowing
58their caller to pass the variable argument list as a <code>va_list</code> object
59(initialized by <code>va_start</code>) rather than directly accepting a variable
60number of arguments.  The caller is responsible for calling <code>va_end</code>.
61
62   <p><code>_vwprintf_r</code>, <code>_vfwprintf_r</code> and <code>_vswprintf_r</code> are reentrant
63versions of the above.
64
65   <p><br>
66<strong>Returns</strong><br>
67The return values are consistent with the corresponding functions.
68
69   <p><br>
70<strong>Portability</strong><br>
71POSIX-1.2008 with extensions; C99 (compliant except for POSIX extensions).
72
73   <p>Supporting OS subroutines required: <code>close</code>, <code>fstat</code>, <code>isatty</code>,
74<code>lseek</code>, <code>read</code>, <code>sbrk</code>, <code>write</code>.
75
76   <p><br>
77<strong>See Also</strong><br>
78<code>wprintf</code>, <code>fwprintf</code> and <code>swprintf</code>.
79
80   <p><br>
81
82   </body></html>
83
84