projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
reformat to KNF, redo tracing interface, new version for vi
[unix-history]
/
usr
/
src
/
lib
/
libcurses
/
clear.c
/*
* Copyright (c) 1981 Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*/
#ifndef lint
static char
sccsid
[] =
"@(#)clear.c 5.5 (Berkeley) %G%"
;
#endif
/* not lint */
# include
"curses.ext"
/*
* This routine clears the window.
*
*/
wclear
(
win
)
reg WINDOW
*
win
; {
werase
(
win
);
win
->
_clear
=
TRUE
;
return
OK
;
}