This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: errno values
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Andre Kirchner <supercroc1974 at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 27 Jan 2004 14:10:29 -0500
- Subject: Re: errno values
- References: <20040127185427.31711.qmail@web13011.mail.yahoo.com>
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