Annotation of 43BSD/usr.lib/libcurses/endwin.c, revision 1.1.1.1

1.1       root        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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.