errno values

Ian Lance Taylor ian@wasabisystems.com
Tue Jan 27 19:10:00 GMT 2004


Andre Kirchner <supercroc1974@yahoo.com> writes:

> could someone point out where I can find the the
> decimal values of EACCES, EEXIST, EIDRM, ENOENT,
> ENOMEM and ENOSPC for <sys/msg.h>.
> I made a program that returns error number 13, but I
> don't know what error correspond to 13.

It depends upon what system you are using, but these values can
normally be found in /usr/include/sys/errno.h or
/usr/include/asm/errno.h.

13 is normally EACCES.

Ian



More information about the Gcc-help mailing list