> So it sounds like you guys use access() to do these tests. Well, really only to check that the file exists and is readable, before I try to open it.
If that is true, and it still doesn't open, it *usually* means that the input file is broken... > Should we add a recommendation in the docs and examples to use > access() > to test this, or would it be better to improve the API? > > Kinda seeking a vote, as this issue has come up with new users many > times before, and I'd just like to see if we can solve it by improving > the docs/examples. I guess giving folks the hint that, calling stat/access on the file before they try to open it is a Good Idea, would be useful? Whether we need an API to report the fail state I don't know, it seems like it would be handy, but...? SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

