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

Sets of preference ordered base directories relative to which files should be searched. More...

Functions

xdgDirsListxdgDataDirs (void)
 Value of $XDG_DATA_DIRS.
 
xdgDirsListxdgConfigDirs (void)
 Value of $XDG_CONFIG_DIRS.
 

Detailed Description

Function Documentation

◆ xdgConfigDirs()

xdgDirsList * xdgConfigDirs ( void  )

Preference-ordered set of base directories to search for configuration files in addition to the $XDG_CONFIG_HOME base directory

Returns
pointer to const struct xdgDirsList_t
Examples
lists.c, and print.c.

◆ xdgDataDirs()

xdgDirsList * xdgDataDirs ( void  )

Preference-ordered set of base directories to search for data files in addition to the $XDG_DATA_HOME base directory

See lists.c for example

Returns
pointer to const struct xdgDirsList_t
Examples
lists.c, and print.c.