Annotation of researchv10dc/ncurses/screen/clear.c, revision 1.1.1.1

1.1       root        1: # include      "curses.ext"
                      2: /*     @(#) clear.c: 1.1 10/15/83      (1.2    4/7/82) */
                      3: 
                      4: /*
                      5:  *     This routine clears the _window.
                      6:  *
                      7:  * 1/26/81 (Berkeley) @(#)clear.c      1.1
                      8:  */
                      9: wclear(win)
                     10: reg WINDOW     *win; {
                     11: 
                     12:        if (win == curscr)
                     13:                win = stdscr;
                     14:        werase(win);
                     15:        win->_clear = TRUE;
                     16:        return OK;
                     17: }

unix.superglobalmegacorp.com

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