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