Get the path where user's home directory resides.
As of PhysicsFS 2.1, you probably want PHYSFS_getPrefDir().
Defined in <physfs.h>
const char * PHYSFS_getUserDir(void);(const char *) Returns READ ONLY string of user dir in platform-dependent notation.
Helper function.
Get the "user dir". This is meant to be a suggestion of where a specific user of the system can store files. On Unix, this is her home directory. On systems with no concept of multiple home directories (MacOS, win95), this will default to something like "C:\mybasedir\users\username" where "username" will either be the login name, or "default" if the platform doesn't support multiple users, either.
It is safe to call this function from any thread.
This function is available since PhysicsFS 1.0.0.