📄 vswprintf.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>vfwprintf</title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_010_419"> </a>NAME</h4><blockquote>vfwprintf, vwprintf, vswprintf - wide-character formatted output of astdarg argument list</blockquote><h4><a name = "tag_000_010_420"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="stdarg.h.html">stdarg.h</a>>#include <<a href="stdio.h.html">stdio.h</a>>#include <<a href="wchar.h.html">wchar.h</a>>int vwprintf(const wchar_t *<i>format</i>, va_list <i>arg</i>);int vfwprintf(FILE *<i>stream</i>, const wchar_t *<i>format</i>, va_list <i>arg</i>);int vswprintf(wchar_t *<i>s</i>, size_t <i>n</i>, const wchar_t *<i>format</i>, va_list <i>arg</i>);</code></pre></blockquote><h4><a name = "tag_000_010_421"> </a>DESCRIPTION</h4><blockquote>The<i>vwprintf()</i>,<i>vfwprintf()</i>and<i>vswprintf()</i>functions are the same as<i><a href="wprintf.html">wprintf()</a></i>,<i><a href="fwprintf.html">fwprintf()</a></i>and<i><a href="swprintf.html">swprintf()</a></i>respectively, except that instead of being called with a variablenumber of arguments, they are called with an argument list as defined by <i><a href="stdarg.h.html"><stdarg.h></a></i>.<p>These functions do not invoke the <i>va_end</i>macro. However, as these functions do invoke the<i>va_arg</i>macro, the value of<i>ap</i>after the return is indeterminate.</blockquote><h4><a name = "tag_000_010_422"> </a>RETURN VALUE</h4><blockquote>Refer to <i><a href="fwprintf.html">fwprintf()</a></i>.</blockquote><h4><a name = "tag_000_010_423"> </a>ERRORS</h4><blockquote>Refer to <i><a href="fwprintf.html">fwprintf()</a></i>.</blockquote><h4><a name = "tag_000_010_424"> </a>EXAMPLES</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_425"> </a>APPLICATION USAGE</h4><blockquote>Applications using these functions should call <i>va_end(ap)</i>afterwards to clean up.</blockquote><h4><a name = "tag_000_010_426"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_010_427"> </a>SEE ALSO</h4><blockquote><i><a href="fwprintf.html">fwprintf()</a></i>,<i><a href="stdarg.h.html"><stdarg.h></a></i>,<i><a href="stdio.h.html"><stdio.h></a></i>,<i><a href="wchar.h.html"><wchar.h></a></i>.</blockquote><h4>DERIVATION</h4><blockquote>Derived from the ISO/IEC 9899:1990/Amendment 1:1995 (E).</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -