libXDGdirs v1.1.1-2-g54a653b
An implementation of XDG Base Directory Specification
Loading...
Searching...
No Matches
Reading environment variables

Modules

 User directories
 Base directories to which user-specific files should be written.
 
 System directories
 Sets of preference ordered base directories relative to which files should be searched.
 

Functions

const char * xdgCustomVar (const char *custom)
 User definied custom XDG variables.
 

Detailed Description

Function Documentation

◆ xdgCustomVar()

const char * xdgCustomVar ( const char *  custom)

Environment variables of pattern XDG_*_DIR

Those are not cached

Returns
a value of XDG_*_DIR variable or NULL
Examples
custom.c.