Function xdgRuntimeDir

Path to runtime user directory.

string xdgRuntimeDir() nothrow @trusted;

Returns

User's runtime directory determined by XDG_RUNTIME_DIR environment variable. If directory does not exist it tries to create one with appropriate permissions. On fail returns an empty string.