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
raster3d/mapset.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <sys/types.h>
4
#include <unistd.h>
5
#include "
raster3d_intern.h
"
6
7
/*---------------------------------------------------------------------------*/
8
9
void
Rast3d_make_mapset_map_directory
(
const
char
*mapName)
10
{
11
char
buf[
GNAME_MAX
+
sizeof
(
RASTER3D_DIRECTORY
) + 2];
12
13
sprintf(buf,
"%s/%s"
,
RASTER3D_DIRECTORY
, mapName);
14
G_make_mapset_element
(buf);
15
}
raster3d_intern.h
RASTER3D_DIRECTORY
#define RASTER3D_DIRECTORY
Definition:
raster3d.h:31
GNAME_MAX
#define GNAME_MAX
Definition:
gis.h:167
G_make_mapset_element
int G_make_mapset_element(const char *)
Create element in the current mapset.
Definition:
mapset_msc.c:38
Rast3d_make_mapset_map_directory
void Rast3d_make_mapset_map_directory(const char *mapName)
Definition:
raster3d/mapset.c:9
lib
raster3d
mapset.c
Generated on Mon May 31 2021 05:21:30 for GRASS GIS 7 Programmer's Manual by
1.8.13