On 08 Nov 2007, at 20:43, afpTeam wrote:
I'm maybe lost in the doc searches, but is there a reference explaining
the
extended err codes for fpOpen and friends?
I could not find one.
They are documented in the man pages of the *nix functions you are
calling (man open), and the actual values corresponding to the symbolic
errno numbers can be found in /usr/include/errno.h (or in one of the
files it includes).
Just like with the win32 api, I don't think it would be worth the effort
to duplicate all that information in our own manuals.
Jonas
Marko wrote:
Note that there can be slight differences between the FPC definitions and
the C file on some platforms. (kernel <-> libc. Mostly caused by
redistribution of functionality between kernel and libc).
So to obtain a number -> identifier (EPerm, EBusy) mapping, it might be
wisest to check the FPC .inc first, since that is more likely to
correspond
to whatever interface the pascal code is using.
This makes perfect sense.
Moving from w32 to *Nix has some noobish moments, (duh)
The sun was in my eys... I had a cold yesterday, yeah that's it.
Thanks guys. :)
Mike
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal