Dynamic Windows Function [dw_app_dir]
Syntax
char * dw_app_dir(void)
Returns
char *
Description
Returns a pointer to a static buffer which contains the private application data directory.
Remarks
Do not dw_free() the return value.
OS/2 and Windows will return the directory containing the executable, typically in \Program Files.
Mac will return the directory to the application bundle folder.
Unix will return the "share" directory at the same level as the binary (or /usr/local/share if this cannot be determined) with the binary name appended to the end.
If detection of these fail the current working directory will be returned.
This API was introduced in version 2.3.