Query: gggetuserdir
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ggGetUserDir(3) GGI ggGetUserDir(3)NAMEggGetUserDir - Get user home directorySYNOPSIS#include <ggi/gg.h> const char * ggGetUserDir(void);DESCRIPTIONggGetUserDir returns a path to the home directory of the user executing an application, whatever it may be on a given system. For example, on unix systems it will be the contents of the HOME environment variable. If no user home exists, a suitable temporary directory is found. ggGetUserDir is threadsafe, but is not guaranteed to be safe to use in a thread that may be cancelled during its execution. It is also not guaranteed to be safe to use in special contexts such as LibGG task handlers, signal handlers and asyncronous procedure calls.RETURN VALUEggGetUserDir returns a NULL-terminated string holding the path the the current user home directory. This string may be a reference to mem- ory belonging to OS facilities, and *must not* be freed or altered. libgg-1.0.x 2005-08-26 ggGetUserDir(3)
Related Man Pages |
---|
ggcurtime(3) - debian |
ggexit(3) - debian |
gguslumber(3) - debian |
ggtrylock(3) - debian |
libgg(7) - debian |
Similar Topics in the Unix Linux Community |
---|
Introduction |
Detecting unused variables... |
New UNIX and Linux History Sections |
My first PERL incarnation... Audio Oscillograph |