Function physfs_sys::PHYSFS_isSymbolicLink[][src]

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

\fn int PHYSFS_isSymbolicLink(const char *fname) \brief Determine if a file in the search path is really a symbolic link.

\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 symbolic link.

Note that entries that are symlinks are ignored if PHYSFS_permitSymbolicLinks(1) hasn’t been called, and as such, this function will always return 0 in that case.

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

\sa PHYSFS_stat \sa PHYSFS_exists