GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
find_cell.c
Go to the documentation of this file.
1
/*
2
**********************************************************************
3
* char *
4
* G_find_cell (name, mapset)
5
* char *name file name to look for
6
* char *mapset mapset to search. if mapset is ""
7
* will search in mapset search list
8
*
9
* searches for a cell file from the mapset search list
10
* or in a specified mapset.
11
* returns the mapset name where the cell file was found.
12
*
13
* returns:
14
* char * pointer to a string with name of mapset
15
* where cell file was found, or NULL if not found
16
* note:
17
* rejects all names that begin with .
18
*
19
* if name is of the form nnn in ppp then
20
* name = nnn and mapset = ppp
21
**********************************************************************/
22
23
#include <grass/gis.h>
24
25
63
char
*
G_find_cell
(
char
*
name
,
const
char
*mapset)
64
{
65
return
G_find_file
(
"cell"
, name, mapset);
66
}
67
68
83
char
*
G_find_cell2
(
const
char
*
name
,
const
char
*mapset)
84
{
85
return
G_find_file2
(
"cell"
, name, mapset);
86
}
lib
gis
find_cell.c
Generated on Sat Oct 5 2013 12:11:06 for GRASS Programmer's Manual by
1.8.4