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

📄 mvwaddchnstr.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>addchstr</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_212">&nbsp;</a>NAME</h4><blockquote>addchstr, addchnstr, mvaddchstr, mvaddchnstr, mvwaddchstr, mvwaddchnstrwaddchstr, waddchnstr - add string of single-byte characters andrenditions to a window</blockquote><h4><a name = "tag_002_001_213">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;<a href="curses.h.html">curses.h</a>&gt;int addchstr(const chtype *<i>chstr</i>);int addchnstr(const chtype *<i>chstr</i>, int <i>n</i>);int mvaddchstr(int <i>y</i>, int <i>x</i>, const chtype *<i>chstr</i>);int mvaddchnstr(int <i>y</i>, int <i>x</i>, const chtype *<i>chstr</i>, int <i>n</i>);int mvwaddchstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const chtype *<i>chstr</i>);int mvwaddchnstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const chtype *<i>chstr</i>,                 int <i>n</i>);int waddchstr(WINDOW *<i>win</i>, const chtype *<i>chstr</i>);int waddchnstr(WINDOW *<i>win</i>, const chtype *<i>chstr</i>, int <i>n</i>);</code></pre></blockquote><h4><a name = "tag_002_001_214">&nbsp;</a>DESCRIPTION</h4><blockquote>These functions overlay the contents of the current or specified window,starting at the current or specified position, with the contents of the arraypointed to by<i>chstr</i>until a null<b>chtype</b>is encountered in the array pointed to by<i>chstr</i>.<p>These functions do not change the cursor position.These functions do not perform special-character processing.These functions do not perform wrapping.<p>The<i>addchnstr()</i>,<i>mvaddchnstr()</i>,<i>mvwaddchnstr()</i>and<i>waddchnstr()</i>functions copy at most <i>n</i> items, but no more than will fit on thecurrent or specifiedline.If <i>n</i>&nbsp;is -1 then the whole string is copied, to the maximum numberthat fit on thecurrent or specifiedline.</blockquote><h4><a name = "tag_002_001_215">&nbsp;</a>RETURN VALUE</h4><blockquote>Upon successful completion, these functions return OK.  Otherwise, they returnERR.</blockquote><h4><a name = "tag_002_001_216">&nbsp;</a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_002_001_217">&nbsp;</a>APPLICATION USAGE</h4><blockquote>These functions are only guaranteed to operate reliably on character sets inwhich each character fits into a single byte, whose attributes can beexpressed using only constants with the A_ prefix.</blockquote><h4><a name = "tag_002_001_218">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="addch.html">addch()</a></i>,<i><a href="add_wch.html">add_wch()</a></i>,<i><a href="add_wchstr.html">add_wchstr()</a></i>,<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 + -