GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 More...
 
char * G__home (void)
 

Function Documentation

char* G__home ( void  )

Definition at line 43 of file home.c.

References buf, G_store(), getenv(), and sprintf().

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.

Referenced by V__dump_window().