runtimeDir

Path to runtime user directory.

  1. string runtimeDir()
    version(Docs)
    nothrow @trusted
    string
    runtimeDir
    ()
  2. string runtimeDir()

Return Value

Type: string

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. Note: This function is Freedesktop only.

Meta