15 #include <grass/gis.h> 
   34     char *wind = 
getenv(
"WIND_OVERRIDE");
 
int G_put_window(const struct Cell_head *window)
write the database region 
FILE * G_fopen_new(const char *element, const char *name)
Open a new database file. 
int G__put_window(const struct Cell_head *window, char *dir, char *name)
int G__write_Cell_head3(FILE *fd, const struct Cell_head *cellhd, int is_cellhd)
Write 3D cell header or window.