📄 pecho_wchar.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>pechochar</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_001_009_726"> </a>NAME</h4><blockquote>pechochar, pecho_wchar - write a character and rendition and immediatelyrefresh the pad</blockquote><h4><a name = "tag_001_009_727"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="curses.h.html">curses.h</a>>int pechochar(WINDOW *<i>pad</i>, chtype <i>ch</i>);int pecho_wchar(WINDOW *<i>pad</i>, const cchar_t *<i>wch</i>);</code></pre></blockquote><h4><a name = "tag_001_009_728"> </a>DESCRIPTION</h4><blockquote>The<i>pechochar()</i>and<i>pecho_wchar()</i>functions output one character to a pad and immediately refresh the pad.They are equivalent to a call to<i><a href="waddch.html">waddch()</a></i>or<i><a href="wadd_wch.html">wadd_wch()</a></i>,respectively, followed by a call to<i><a href="prefresh.html">prefresh()</a></i>.The last location of the pad on the screen is reused for the arguments to<i><a href="prefresh.html">prefresh()</a></i>.</blockquote><h4><a name = "tag_001_009_729"> </a>RETURN VALUE</h4><blockquote>Upon successful completion, these functionsreturn OK. Otherwise, they return ERR.</blockquote><h4><a name = "tag_001_009_730"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_001_009_731"> </a>APPLICATION USAGE</h4><blockquote>The<i>pechochar()</i>function is 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_001_009_732"> </a>SEE ALSO</h4><blockquote><i><a href="echochar.html">echochar()</a></i>,<i><a href="newpad.html">newpad()</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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -