This is the mail archive of the gcc@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: poll


on cygwin

#define ENOTCONN 128		/* Socket is not connected */
#define ETOOMANYREFS 129
#define EPROCLIM 130
#define EUSERS 131
#define EDQUOT 132
#define ESTALE 133
#define ENOTSUP 134		/* Not supported */
#define ENOMEDIUM 135   /* No medium (in tape drive) */
#define ENOSHARE 136    /* No such host or network path */
#define ECASECLASH 137  /* Filename exists with different case */

and irix6.5

        /* operational errors */
#define ENETDOWN        127             /* Network is down */
#define ENETUNREACH     128             /* Network is unreachable */
#define ENETRESET       129             /* Network dropped connection because
                                           of reset */
#define ECONNABORTED    130             /* Software caused connection abort */
#define ECONNRESET      131             /* Connection reset by peer */
#define ENOBUFS         132             /* No buffer space available */
#define EISCONN         133             /* Socket is already connected */
#define ENOTCONN        134             /* Socket is not connected */

/* XENIX has 135 - 142 */
#define ESHUTDOWN       143             /* Can't send after socket shutdown */
#define ETOOMANYREFS    144             /* Too many references: can't splice */
#define ETIMEDOUT       145             /* Connection timed out */
#define ECONNREFUSED    146             /* Connection refused */
#define EHOSTDOWN       147             /* Host is down */
#define EHOSTUNREACH    148             /* No route to host */


-----Original Message-----
From: Zack Weinberg [mailto:zack@codesourcery.com]
Sent: Friday, 25 January 2002 1:48 
To: gcc@gcc.gnu.org
Subject: errno values: poll


Please raise your hand if you have a system which is fundamentally
Unix, and which defines E-constants in <errno.h> larger than 127.
"fundamentally Unix" here means "has a real fork() primitive, and is
not Hurd."

zw


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