mapset.c File Reference

#include <string.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/glocale.h>

Include dependency graph for mapset.c:

Go to the source code of this file.

Functions

char * G_mapset ()
 current mapset name
char * G__mapset ()


Function Documentation

char* G__mapset (  ) 

Definition at line 68 of file mapset.c.

References G__getenv().

Referenced by G_mapset().

char* G_mapset (  ) 

current mapset name

Returns the name of the current mapset in the current location. This routine is often used when accessing files in the current mapset. See Mapsets for an explanation of mapsets.

Parameters:
void 
Returns:
char *

Definition at line 31 of file mapset.c.

References G__mapset(), G__mapset_permissions(), G_fatal_error(), and NULL.

Referenced by G__check_for_auto_masking(), G__file_name(), G__make_mapset_element(), G__mask_info(), G__open(), G__quant_export(), G__quant_import(), G__tempfile(), G__write_cats(), G_check_input_output_name(), G_fopen_append(), G_fopen_modify(), G_fopen_new(), G_get_window(), G_gisinit(), G_open_new(), G_open_update(), G_put_cell_title(), G_put_reclass(), G_read_colors(), G_remove(), G_remove_colr(), G_rename(), G_short_history(), G_write_colors(), G_write_fp_range(), and G_write_range().


Generated on Sun Apr 6 17:32:22 2008 for GRASS by  doxygen 1.5.5