PHYSFS_exists

Function PHYSFS_exists 

Source
pub unsafe extern "C" fn PHYSFS_exists(fname: *const c_char) -> c_int
Expand description

\fn int PHYSFS_exists(const char *fname) \brief Determine if a file exists in the search path.

Reports true if there is an entry anywhere in the search path by the name of (fname).

Note that entries that are symlinks are ignored if PHYSFS_permitSymbolicLinks(1) hasn’t been called, so you might end up further down in the search path than expected.

\param fname filename in platform-independent notation. \return non-zero if filename exists. zero otherwise.