GRASS Programmer's Manual
6.4.2(2012)
|
00001 #include <grass/gis.h> 00002 00003 /* 00004 * \brief 00005 * searches for a grid3 file from the mapset search list 00006 * or in a specified mapset. 00007 * returns the mapset name where the cell file was found. 00008 * 00009 * note: 00010 * rejects all names that begin with '.' 00011 * if name is of the form nnn in ppp then 00012 * name = nnn and mapset = ppp 00013 * 00014 * \param const char *name file name to look for 00015 * \param const char *mapset mapset to search. if mapset is "" 00016 * will search in mapset search list 00017 * \return char * pointer to a string with name of mapset 00018 * where cell file was found, or NULL if not found 00019 */ 00020 00021 char *G_find_grid3(const char *name, const char *mapset) 00022 { 00023 return G_find_file2_misc("grid3", "cell", name, mapset); 00024 }