mvchgat.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>chgat</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_002_001_324"> </a>NAME</h4><blockquote>chgat, mvchgat, mvwchgat, wchgat - change renditions of characters in a window</blockquote><h4><a name = "tag_002_001_325"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="curses.h.html">curses.h</a>>int chgat(int <i>n</i>, attr_t <i>attr</i>, short <i>color</i>, const void *<i>opts</i>);int mvchgat(int <i>y</i>, int <i>x</i>, int <i>n</i>, attr_t <i>attr</i>, short <i>color</i>, const void *<i>opts</i>);int mvwchgat(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, int <i>n</i>, attr_t <i>attr</i>, short <i>color</i>, const void *<i>opts</i>);int wchgat(WINDOW *<i>win</i>, int <i>n</i>, attr_t <i>attr</i>, short <i>color</i>, const void *<i>opts</i>);</code></pre></blockquote><h4><a name = "tag_002_001_326"> </a>DESCRIPTION</h4><blockquote>These functions change the renditions of the next <i>n</i> characters in thecurrent or specified window (or of the remaining characters on thecurrent or specified line, if<i>n</i> is -1), starting at the current or specified cursor position. Theattributes and colors are specified by <i>attr</i> and <i>color</i> as for<i><a href="setcchar.html">setcchar()</a></i>.<p>These functions do not update the cursor.These functions do not perform wrapping.<p>A value of <i>n</i> that is greater than the remaining characters on a line isnot an error.<p>The <i>opts</i> argument is reserved for definition in a future edition of thisdocument. Currently, the application must provide a null pointer as<i>opts</i>.</blockquote><h4><a name = "tag_002_001_327"> </a>RETURN VALUE</h4><blockquote>Upon successful completion, these functions return OK.Otherwise, they return ERR.</blockquote><h4><a name = "tag_002_001_328"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_002_001_329"> </a>SEE ALSO</h4><blockquote><i><a href="setcchar.html">setcchar()</a></i>,<i><a href="curses.h.html"><curses.h></a></i>.</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 + =
减小字号Ctrl + -
显示快捷键?