GRASS Programmer's Manual  6.4.2(2012)
 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 }