GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
Main Page
Related Pages
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
+
Enumerations
a
c
d
e
h
l
m
n
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
gisdbase.c
Go to the documentation of this file.
1
/*!
2
\file lib/gis/gisdbase.c
3
4
\brief GIS library - environment routines (gisdbase)
5
6
(C) 2001-2009 by the GRASS Development Team
7
8
This program is free software under the
9
GNU General Public License (>=v2).
10
Read the file COPYING that comes with GRASS
11
for details.
12
13
\author Original author CERL
14
*/
15
16
#include <
grass/gis.h
>
17
18
/*!
19
* \brief Get name of top level database directory
20
*
21
* Returns the full UNIX path name of the directory which holds the
22
* database locations.
23
*
24
* \return pointer to string containing the base directory
25
*/
26
const
char
*
G_gisdbase
(
void
)
27
{
28
return
G_getenv
(
"GISDBASE"
);
29
}
gis.h
G_gisdbase
const char * G_gisdbase(void)
Get name of top level database directory.
Definition:
gisdbase.c:26
G_getenv
const char * G_getenv(const char *)
Get environment variable.
Definition:
env.c:338
lib
gis
gisdbase.c
Generated on Mon May 31 2021 05:21:29 for GRASS GIS 7 Programmer's Manual by
1.8.13