An absolute path to the application data directory.
The path is guaranteed to end with a path separator.
Throws SDLException on failure, or if the platform does not implement this
functionality.
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11
Modulesdl2-2.5.6.1Haskell2010
An absolute path to the application data directory.
The path is guaranteed to end with a path separator.
Throws SDLException on failure, or if the platform does not implement this
functionality.
A path to a unique per user and per application directory for the given organization and application name, intended for writing preferences and other personal files.
The path is guaranteed to end with a path separator.
You should assume the path returned by this function is the only safe place to write files to.
Throws SDLException on failure.