wiki.icculus.org
[ front page | index | search | recent changes | git repo | offline html ]

PHYSFS_isSymbolicLink

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.

Header File

Defined in <physfs.h>

Syntax

int PHYSFS_isSymbolicLink(const char *fname);

Function Parameters

const char * fname filename in platform-independent notation.

Return Value

(int) Returns non-zero if filename exists and is a symlink. zero otherwise.

Remarks

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.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since PhysicsFS 1.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryPhysicsFS


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.