Functions

home.c File Reference

#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for home.c:

Go to the source code of this file.

Functions

char * G_home (void)
 user's home directory
char * G__home (void)

Function Documentation

char* G__home ( void   )

Definition at line 43 of file home.c.

References G_store().

Referenced by G_home().

char* G_home ( void   )

user's home directory

Returns a pointer to a string which is the full path name of the user's home directory.

Parameters:
~
Returns:
char *

Definition at line 32 of file home.c.

References G__home(), G_fatal_error(), and NULL.