/builddir/build/BUILD/gru-0.2.0/src/common/gru_base.c File Reference

#include "gru_base.h"
#include "gru_alloc.h"

Functions

const char * gru_base_app_home (const char *appname)
 Returns the base directory for the application given an application name For Unix-like, that would be: $HOME/.appname.

Function Documentation

const char* gru_base_app_home ( const char *  appname  ) 

Returns the base directory for the application given an application name For Unix-like, that would be: $HOME/.appname.

Parameters:
appname Application name
Returns:
a pointer to a static buffer that will be automatically free'd at exit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 7 Jan 2019 for GRU - Generic Reusable Utilities by  doxygen 1.6.1