Tao.PhysFs SDK Documentation

Fs.PHYSFS_exists Method 

Determine if a file exists in the search path.

[Visual Basic]
Public Shared Function PHYSFS_exists( _
   ByVal fname As String _
) As Integer
[C#]
public static int PHYSFS_exists(
   string fname
);

Parameters

fname
filename in platform-independent notation.

Return Value

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.

See Also

Fs Class | Tao.PhysFs Namespace | PHYSFS_isDirectory | PHYSFS_isSymbolicLink