* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)clrtobot.c 5.1 (Berkeley) %G%";
* This routine erases everything on the window.
reg
char *sp
, *end
, *maxx
;
for (y
= win
->_cury
; y
< win
->_maxy
; y
++) {
end
= &win
->_y
[y
][win
->_maxx
];
for (sp
= &win
->_y
[y
][startx
]; sp
< end
; sp
++)
touchline(win
, y
, minx
, maxx
- &win
->_y
[y
][startx
]);