exists man page

exists — Shortcut version of file_exists() for normal files. Allegro game programming library.


#include <allegro.h>

int exists(const char *filename);


Shortcut version of file_exists(), which checks for normal files, which may have the archive or read-only bits set, but are not hidden, directories, system files, etc.

Return Value

Returns non-zero if the file exists, or zero if it doesn't.

See Also

file_exists(3), file_size_ex(3), file_time(3)

Referenced By


Explore man page connections for exists(3).

Allegro version 4.4.2 Allegro manual