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: #ifndef lint
   8: static char sccsid[] = "@(#)endwin.c	5.1 (Berkeley) 6/7/85";
   9: #endif not lint
  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: }
Last modified: 1985-06-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 964
Valid CSS Valid XHTML 1.0 Strict