FICHA · AUR

libxdgdirs

An implementation helpers for XDG Base Directory Specification in C

  • Library
  • Dev
  • FILESYSTEM
  • Dependency only
official+codex · reviewed · Jun 2, 2026 description in en

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.

Permissions

Permissions not analysed for this source yet.