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

PHYSFS_exists

Determine if a file exists in the search path.

Header File

Defined in <physfs.h>

Syntax

int PHYSFS_exists(const char *fname);

Function Parameters

const char * fname filename in platform-independent notation.

Return Value

(int) Returns non-zero if filename exists. zero otherwise.

Remarks

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.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since PhysicsFS 1.0.0.


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.