GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mke_mapset.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <grass/gis.h>
Include dependency graph for mke_mapset.c:

Go to the source code of this file.

Functions

int make_mapset (const char *location, const char *mapset)
 

Variables

int errno
 

Function Documentation

int make_mapset ( const char *  location,
const char *  mapset 
)

Definition at line 13 of file mke_mapset.c.

References fclose(), fd, G_asprintf(), G_fatal_error(), G_free(), G_get_default_window(), G_mkdir(), G_put_window(), NULL, and sprintf().

Referenced by main().

Variable Documentation

int errno