This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: errno values


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]