?? endwin.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>endwin</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_000_000_351"> </a>NAME</h4><blockquote>endwin - suspend Curses session</blockquote><h4><a name = "tag_000_000_352"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <<a href="curses.h.html">curses.h</a>>int endwin(void);</code></pre></blockquote><h4><a name = "tag_000_000_353"> </a>DESCRIPTION</h4><blockquote>The<i>endwin()</i>function restores the terminal after Cursesactivity by at least restoring the saved shell terminal mode, flushingany output to the terminal and moving the cursor to the first column of thelast line of the screen. Refreshing a window resumes program mode. Theapplication must call<i>endwin()</i>for each terminal being used before exiting. If<i><a href="newterm.html">newterm()</a></i>is called more than once for the same terminal, the first screen createdmust be the last one for which<i>endwin()</i>is called.</blockquote><h4><a name = "tag_000_000_354"> </a>RETURN VALUE</h4><blockquote>Upon successful completion,<i>endwin()</i>returns OK. Otherwise, it returns ERR.</blockquote><h4><a name = "tag_000_000_355"> </a>ERRORS</h4><blockquote>No errors are defined.</blockquote><h4><a name = "tag_000_000_356"> </a>APPLICATION USAGE</h4><blockquote>The<i>endwin()</i>function does not free storage associated with a screen, so<i><a href="delscreen.html">delscreen()</a></i>should be called after<i>endwin()</i>if a particular screen is no longer needed.<p>To leave Curses mode temporarily, portable applications should call<i>endwin()</i>.Subsequently, to return to Curses mode, they should call<i><a href="doupdate.html">doupdate()</a></i>,<i><a href="refresh.html">refresh()</a></i>or<i><a href="wrefresh.html">wrefresh()</a></i>.</blockquote><h4><a name = "tag_000_000_357"> </a>SEE ALSO</h4><blockquote><i><a href="delscreen.html">delscreen()</a></i>,<i><a href="doupdate.html">doupdate()</a></i>,<i><a href="initscr.html">initscr()</a></i>,<i><a href="isendwin.html">isendwin()</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 + -