libXDGdirs v1.1.1-2-g54a653b
An implementation of XDG Base Directory Specification
|
Functions | |
int | xdgDirs_init (void) |
Explicitly read variables before first use. | |
void | xdgDirs_clear (void) |
Clear cached data. | |
void | xdgDirs_refresh (void) |
Read environment variables again. | |
void xdgDirs_clear | ( | void | ) |
int xdgDirs_init | ( | void | ) |
Will be used automatically with first call to any function from Reading environment variables
Call it if you want to have all data initialized before first use
Returns 0 on success, positive value otherwise
void xdgDirs_refresh | ( | void | ) |
Clear cache with xdgDirs_clear() and initializes again with xdgDirs_init()