home *** CD-ROM | disk | FTP | other *** search
- /*
- ┌────────────────────────────────────────────────────────────────────────────┐
- │jzclreol.c │
- │Clear the line from the current cursor position to the end of the line. │
- │Usage: │
- │ jzclreol(0,39,BLUE); │
- │ │
- │ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
- └────────────────────────────────────────────────────────────────────────────┘
- */
-
- jzclreol(frow,fcol,fattr)
- int frow,fcol,fattr;
- {
- char fill[81];
-
- memset(fill,' ',80-fcol);
- fill[80-fcol] = 0; /* mark end of string */
-
- jzscrprn(fill,frow,fcol,fattr);
- }
-