GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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);
15 }
#define RASTER3D_DIRECTORY
Definition: raster3d.h:31
#define GNAME_MAX
Definition: gis.h:167
int G_make_mapset_element(const char *)
Create element in the current mapset.
Definition: mapset_msc.c:38
void Rast3d_make_mapset_map_directory(const char *mapName)