vw_scanw.html

来自「unix 下的C开发手册,还用详细的例程。」· HTML 代码 · 共 66 行

HTML
66
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>vw_scanw</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_002_001_164">&nbsp;</a>NAME</h4><blockquote>vw_scanw - convert formatted input from a window</blockquote><h4><a name = "tag_002_001_165">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;<a href="../xsh/stdarg.h.html">stdarg.h</a>&gt;#include &lt;<a href="curses.h.html">curses.h</a>&gt;int vw_scanw(WINDOW *, char *, va_list <i>varflist</i>);</code></pre></blockquote><h4><a name = "tag_002_001_166">&nbsp;</a>DESCRIPTION</h4><blockquote>The<i>vw_scanw()</i>function achieves the same effect as<i><a href="wscanw.html">wscanw()</a></i>using a variable argument list.  The third argument is a <b>va_list</b>, asdefined in<i><a href="../xsh/stdarg.h.html">&lt;stdarg.h&gt;</a></i>.</blockquote><h4><a name = "tag_002_001_167">&nbsp;</a>RETURN VALUE</h4><blockquote>Upon successful completion,<i>vw_scanw()</i>returns OK.  Otherwise, it returns ERR.</blockquote><h4><a name = "tag_002_001_168">&nbsp;</a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_002_001_169">&nbsp;</a>APPLICATION USAGE</h4><blockquote>The<i>vw_scanw()</i>function is preferred over<i><a href="vwscanw.html">vwscanw()</a></i>.The use of the<i><a href="vwscanw.html">vwscanw()</a></i>and the<i>vw_scanw()</i>functions in the same file will not work, due to the requirement toinclude <b>varargs.h</b> and <b>stdarg.h</b> which both containdefinitions of va_list.</blockquote><h4><a name = "tag_002_001_170">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="../xsh/fscanf.html">fscanf()</a></i>(in the <b>XSH</b> specification),<i><a href="mvscanw.html">mvscanw()</a></i>,<i><a href="curses.h.html">&lt;curses.h&gt;</a></i>,<i><a href="../xsh/stdarg.h.html">&lt;stdarg.h&gt;</a></i>(in the <b>XSH</b> specification).</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 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 + =
减小字号Ctrl + -
显示快捷键?