GRASS Programmer's Manual  6.4.2(2012)
g3dmapset.c
Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <stdlib.h>
00003 #include <sys/types.h>
00004 #include <unistd.h>
00005 #include "G3d_intern.h"
00006 
00007 /*---------------------------------------------------------------------------*/
00008 
00009 void G3d_makeMapsetMapDirectory(const char *mapName)
00010 {
00011     char buf[GNAME_MAX + sizeof(G3D_DIRECTORY) + 2];
00012 
00013     sprintf(buf, "%s/%s", G3D_DIRECTORY, mapName);
00014     G__make_mapset_element(buf);
00015 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines