There are often functions that will give you a string representation of the error number for standard errors. For example, if errno is set, you can use strerror to get an error string from the value stored in errorno. These look like macros that match what is stored in errno, so perhaps you can use it for the error that you're getting. Cheers, Lyle -----Original Message----- From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On Behalf Of Andre Kirchner Sent: Tuesday, January 27, 2004 11:54 AM To: gcc-help@xxxxxxxxxxx Subject: errno values Hi, 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. Thanks, Andre __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/