1: # include "curses.ext"
2:
3: /*
4: * This routine clears the window.
5: *
6: * 1/26/81 (Berkeley) @(#)clear.c 1.1
7: */
8: wclear(win)
9: reg WINDOW *win; {
10:
11: if (win == curscr) {
12: # ifdef DEBUG
13: fprintf(outf,"WCLEAR: win == curscr\n");
14: fprintf(outf,"WCLEAR: curscr = %d\n",curscr);
15: fprintf(outf,"WCLEAR: stdscr = %d\n",stdscr);
16: # endif
17: clear();
18: return refresh();
19: }
20: werase(win);
21: win->_clear = TRUE;
22: return OK;
23: }
Defined functions
wclear
defined in line
8; used 2 times