Function physfs_sys::PHYSFS_getBaseDir[][src]

pub unsafe extern "C" fn PHYSFS_getBaseDir() -> *const c_char
Expand description

\fn const char *PHYSFS_getBaseDir(void) \brief Get the path where the application resides.

Helper function.

Get the “base dir”. This is the directory where the application was run from, which is probably the installation directory, and may or may not be the process’s current working directory.

You should probably use the base dir in your search path.

\return READ ONLY string of base dir in platform-dependent notation.

\sa PHYSFS_getPrefDir