Disables the cursor and clears the current screen (implemented for NetWare ® 3.0 and above)
#include <nwconio.h> void clrscr (void);
None
If an error occurs, errno is set to:
The clrscr function clears the current screen and places the cursor (invisibly) in the upper left-hand corner (at position 0,0).
#include <stdlib.h>
#include <nwconio.h>
#include <stdio.h>
main()
{
printf("type any character...");
getch();
clrscr();
printf("this should be on a clear screen\r\n");
getch(); /* getch will reenable cursor */
}