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 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulesdl2-2.5.5.0Haskell2010
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.