Re: [AD] SF.net SVN: alleg:[11393] allegro/branches/4.9

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 6-Jan-09, at 2:01 PM, Thomas Fjellstrom wrote:
As the code says, 1 for true, 0 for false, -1 on error.

That's horrible.
It should be possible to do "if (al_path_exists()) ...". When does it fail (I know, I could check the code)? Is there a better way to detect when an error occurs (eg, is there an "errno" type variable)?

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/