Function physfs_sys::PHYSFS_isDirectory [−][src]
pub unsafe extern "C" fn PHYSFS_isDirectory(
fname: *const c_char
) -> c_int
Expand description
\fn int PHYSFS_isDirectory(const char *fname) \brief Determine if a file in the search path is really a directory.
\deprecated As of PhysicsFS 2.1, use PHYSFS_stat() instead. This function just wraps it anyhow.
Determine if the first occurence of (fname) in the search path is really a directory entry.
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 and is a directory. zero otherwise.
\sa PHYSFS_stat \sa PHYSFS_exists