summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_clear.c
blob: c82db9bc13ecf2311aa9505113a7846532f61457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

/* This work is copyrighted. See COPYRIGHT.OLD & COPYRIGHT.NEW for   *
*  details. If they are missing then this copy is in violation of    *
*  the copyright conditions.                                        */

/*
**	lib_clear.c
**
**	The routine wclear().
**
*/

#include "curses.priv.h"

int wclear(WINDOW *win)
{
	T(("wclear(%x) called", win));

	werase(win);

	win->_clear = TRUE;

	return OK;
}
OpenPOWER on IntegriCloud