• Main Page
  • Related Pages
  • Data Structures
  • Files
  • File List
  • Globals

clear_scrn.c

Go to the documentation of this file.
00001 
00002 /**********************************************************************
00003  *
00004  *   G_clear_screen()
00005  *
00006  *   clears the terminal screen
00007  *
00008  **********************************************************************/
00009 #include <stdlib.h>
00010 #include <grass/gis.h>
00011 
00012 int G_clear_screen(void)
00013 {
00014 #ifdef __MINGW32__
00015     system("cls");
00016 #else
00017     system("clear");
00018 #endif
00019 
00020     return 0;
00021 }

Generated on Thu Dec 9 2010 20:46:04 for GRASS Programmer's Manual by  doxygen 1.7.2