1al_get_fs_entry_name(3) Library Functions Manual al_get_fs_entry_name(3)
2
3
4
6 al_get_fs_entry_name
7
9 #include <allegro5/allegro.h>
10
11 const char *al_get_fs_entry_name(ALLEGRO_FS_ENTRY *e)
12
14 Returns the entry's filename path. Note that the path will not be an
15 absolute path if the entry wasn't created from an absolute path. Also
16 note that the filesystem encoding may not be known and the conversion
17 to UTF–8 could in very rare cases cause this to return an invalid path.
18 Therefore it's always safest to access the file over its ALLE‐
19 GRO_FS_ENTRY(3) and not the path.
20
21 On success returns a read only string which you must not modify or
22 destroy. Returns NULL on failure.
23
24
25
26Allegro reference manual al_get_fs_entry_name(3)