GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
clear_scrn.c
Go to the documentation of this file.
1 
2 /**********************************************************************
3  *
4  * G_clear_screen()
5  *
6  * clears the terminal screen
7  *
8  **********************************************************************/
9 #include <stdlib.h>
10 #include <grass/gis.h>
11 
12 int G_clear_screen(void)
13 {
14 #ifdef __MINGW32__
15  system("cls");
16 #else
17  system("clear");
18 #endif
19 
20  return 0;
21 }
int G_clear_screen(void)
Definition: clear_scrn.c:12