⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wadd_wchstr.html

📁 unix 下的C开发手册,还用详细的例程。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>add_wchnstr</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_192">&nbsp;</a>NAME</h4><blockquote>add_wchnstr, add_wchstr, mvadd_wchnstr, mvadd_wchstr,mvwadd_wchnstr, mvwadd_wchstr, wadd_wchnstr, wadd_wchstr- add an array of complex characters and renditions to a window</blockquote><h4><a name = "tag_002_001_193">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;<a href="curses.h.html">curses.h</a>&gt;int add_wchnstr(const cchar_t *<i>wchstr</i>, int <i>n</i>);int add_wchstr(const cchar_t *<i>wchstr</i>);int wadd_wchnstr(WINDOW *<i>win</i>, const cchar_t *<i>wchstr</i>, int <i>n</i>);int wadd_wchstr(WINDOW *<i>win</i>, const cchar_t *<i>wchstr</i>);int mvadd_wchnstr(int <i>y</i>, int <i>x</i>, const cchar_t *<i>wchstr</i>, int <i>n</i>);int mvadd_wchstr(int <i>y</i>, int <i>x</i>, const cchar_t *<i>wchstr</i>);int mvwadd_wchnstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const cchar_t *<i>wchstr</i>,                   int <i>n</i>);int mvwadd_wchstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const cchar_t *<i>wchstr</i>);</code></pre></blockquote><h4><a name = "tag_002_001_194">&nbsp;</a>DESCRIPTION</h4><blockquote>These functions write the array of <b>cchar_t</b> specified by <i>wchstr</i>into the current or specified window starting at the current or specifiedcursor position.<p>These functions do not advance the cursor.The results are unspecified if <i>wchstr</i> contains any special characters.<p>The functions end successfully on encountering a null <b>cchar_t</b>.  Thefunctions also end successfully when they fill the current line.  If acharacter cannot completely fit at the end of the current line, those columnsare filled with the background character and rendition.<p>The<i>add_wchnstr()</i>,<i>mvadd_wchnstr()</i>,<i>mvwadd_wchnstr()</i>and<i>wadd_wchnstr()</i>functions end successfully after writing <i>n</i> <b>cchar_t</b>s(or the entire array of <b>cchar_t</b>s, if <i>n</i> is -1).</blockquote><h4><a name = "tag_002_001_195">&nbsp;</a>RETURN VALUE</h4><blockquote>Upon successful completion, these functions return OK.Otherwise, they return ERR.</blockquote><h4><a name = "tag_002_001_196">&nbsp;</a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_002_001_197">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="curses.h.html">&lt;curses.h&gt;</a></i>.</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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -