errno is defined in <sys/errno.h; BTREEMAGIC/BTREEVERSION are in <db.h>
[unix-history] / usr / src / lib / libcurses / clear.c
CommitLineData
6e1c93d0 1/*
2f14f200
KB
2 * Copyright (c) 1981 Regents of the University of California.
3 * All rights reserved.
4 *
f1855e9f 5 * %sccs.include.redist.c%
6e1c93d0
DF
6 */
7
8#ifndef lint
f1855e9f 9static char sccsid[] = "@(#)clear.c 5.4 (Berkeley) %G%";
2f14f200 10#endif /* not lint */
6e1c93d0 11
7ba50b30
KA
12# include "curses.ext"
13
14/*
15 * This routine clears the window.
16 *
7ba50b30
KA
17 */
18wclear(win)
19reg WINDOW *win; {
20
7ba50b30
KA
21 werase(win);
22 win->_clear = TRUE;
23 return OK;
24}