1exists(3)                       Allegro manual                       exists(3)
2
3
4

NAME

6       exists  -  Shortcut  version of file_exists() for normal files. Allegro
7       game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int exists(const char *filename);
14

DESCRIPTION

16       Shortcut version of file_exists(), which checks for normal files, which
17       may  have the archive or read-only bits set, but are not hidden, direcā€
18       tories, system files, etc.
19

RETURN VALUE

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

SEE ALSO

25       file_exists(3), file_size_ex(3), file_time(3)
26
27
28
29Allegro                          version 4.2.2                       exists(3)
Impressum