I was trying to get the filesize of a particular file by using al_create_fs_entry() and it insisted the filesize was zero. The only error checking I'd done was to make sure the ALLEGRO_FS_ENTRY wasn't null. When I gave up to use the fseek(fp,0,SEEK_END) method, my error checking told me that the file couldn't be opened because it didn't exist (filename typo). How can this type of error be detected?
[EDIT] Forgot cookies, darn it!
[EDIT2]
I just stumbled across al_fs_entry_exists(), sorry! I need to slow down.
It's not an error, in principle, since you can use ALLEGRO_FS_ENTRY to create files. The function you're looking for is probably al_fs_entry_exists.
OK, thanks Siegelord! Here's your cookie!
{"name":"Cookie.gif","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/1\/d187a2cf483dbc700e36210cd73298ee.gif","w":382,"h":380,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/1\/d187a2cf483dbc700e36210cd73298ee"}