[fpc-pascal] errno codes fpOpen
jonas.maebe at elis.ugent.be
Fri Nov 9 10:04:52 CET 2007
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). The actual numerical values differ however
from OS to OS, so it's best to use the symbolic constants in your
program (they are all prefixed with ESys in FPC, so e.g. ESysEPERM,
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.
More information about the fpc-pascal