Description
Applications can locate config, cache, data, and runtime directories according to the XDG Base Directory Specification.
This C library is useful for developers who want consistent filesystem paths without duplicating environment-variable and fallback logic. It does not create a settings app; another program uses it to decide where user or application files belong.
Directory handling affects where private settings and cache files are stored. Parent applications should avoid writing sensitive data to the wrong location.