1: /*
2: * Copyright (c) 1980 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #if !defined(lint) && !defined(NOSCCS)
8: static char sccsid[] = "@(#)endwin.c 5.1 (Berkeley) 6/7/85";
9: #endif
10:
11: /*
12: * Clean things up before exiting
13: *
14: */
15:
16: # include "curses.ext"
17:
18: endwin()
19: {
20: resetty();
21: _puts(VE);
22: _puts(TE);
23: if (curscr) {
24: if (curscr->_flags & _STANDOUT) {
25: _puts(SE);
26: curscr->_flags &= ~_STANDOUT;
27: }
28: _endwin = TRUE;
29: }
30: }
Defined functions
endwin
defined in line
18; used 24 times
Defined variables
sccsid
defined in line
8;
never used