pub unsafe extern "C" fn PHYSFS_stat(
fname: *const c_char,
stat: *mut PHYSFS_Stat,
) -> c_intExpand description
\fn int PHYSFS_stat(const char *fname, PHYSFS_Stat *stat) \brief Get various information about a directory or a file.
Obtain various information about a file or directory from the meta data.
This function will never follow symbolic links. If you haven’t enabled symlinks with PHYSFS_permitSymbolicLinks(), stat’ing a symlink will be treated like stat’ing a non-existant file. If symlinks are enabled, stat’ing a symlink will give you information on the link itself and not what it points to.
\param fname filename to check, in platform-indepedent notation. \param stat pointer to structure to fill in with data about (fname). \return non-zero on success, zero on failure. On failure, (stat)’s contents are undefined.
\sa PHYSFS_Stat