where would i find the definition for EINVAL?

Dimitry Andric dimitry@andric.com
Tue Dec 6 11:40:00 GMT 2005

Robert P. J. Day wrote:
> i think the major problem was that the original programmer had used
> the line:
> #include <sys/errno.h>

Here on a current Cygwin installation, there's both a
/usr/include/errno.h, and a /usr/include/sys/errno.h.  In fact, the
first one contains only:

#ifndef __ERRNO_H__
#define __ERRNO_H__

#ifndef __error_t_defined
typedef int error_t;
#define __error_t_defined 1

#include <sys/errno.h>

#endif /* !__ERRNO_H__ */

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20051206/c4144990/attachment.sig>

More information about the crossgcc mailing list