GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
g3dmapset.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 "G3d_intern.h"
6 
7 /*---------------------------------------------------------------------------*/
8 
9 void G3d_makeMapsetMapDirectory(const char *mapName)
10 {
11  char buf[GNAME_MAX + sizeof(G3D_DIRECTORY) + 2];
12 
13  sprintf(buf, "%s/%s", G3D_DIRECTORY, mapName);
15 }
sprintf(buf2,"%s", G3D_CATS_ELEMENT)
void G3d_makeMapsetMapDirectory(const char *mapName)
Definition: g3dmapset.c:9
char buf[GNAME_MAX+sizeof(G3D_DIRECTORY)+2]
Definition: g3drange.c:62
int G__make_mapset_element(const char *p_element)
Create element in the current mapset.
Definition: mapset_msc.c:34