GRU - Generic Reusable Utilities
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
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. More...
 

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
appnameApplication name
Returns
a pointer to a static buffer that will be automatically free'd at exit