Blob Blame History Raw
#include <errno.h>
#define C(n) switch(n){case n:;}
static void f()
{
{int c = errno;}
C(EDOM)
C(EILSEQ)
C(ERANGE)
#ifdef _POSIX_C_SOURCE
C(E2BIG)
C(EACCES)
C(EADDRINUSE)
C(EADDRNOTAVAIL)
C(EAFNOSUPPORT)
C(EAGAIN)
C(EALREADY)
C(EBADF)
C(EBADMSG)
C(EBUSY)
C(ECANCELED)
C(ECHILD)
C(ECONNABORTED)
C(ECONNREFUSED)
C(ECONNRESET)
C(EDEADLK)
C(EDESTADDRREQ)
C(EDQUOT)
C(EEXIST)
C(EFAULT)
C(EFBIG)
C(EHOSTUNREACH)
C(EIDRM)
C(EINPROGRESS)
C(EINTR)
C(EINVAL)
C(EIO)
C(EISCONN)
C(EISDIR)
C(ELOOP)
C(EMFILE)
C(EMLINK)
C(EMSGSIZE)
C(EMULTIHOP)
C(ENAMETOOLONG)
C(ENETDOWN)
C(ENETRESET)
C(ENETUNREACH)
C(ENFILE)
C(ENOBUFS)
C(ENODATA)
C(ENODEV)
C(ENOENT)
C(ENOEXEC)
C(ENOLCK)
C(ENOLINK)
C(ENOMEM)
C(ENOMSG)
C(ENOPROTOOPT)
C(ENOSPC)
C(ENOSR)
C(ENOSTR)
C(ENOSYS)
C(ENOTCONN)
C(ENOTDIR)
C(ENOTEMPTY)
C(ENOTRECOVERABLE)
C(ENOTSOCK)
C(ENOTSUP)
C(ENOTTY)
C(ENXIO)
C(EOPNOTSUPP)
C(EOVERFLOW)
C(EOWNERDEAD)
C(EPERM)
C(EPIPE)
C(EPROTO)
C(EPROTONOSUPPORT)
C(EPROTOTYPE)
C(EROFS)
C(ESPIPE)
C(ESRCH)
C(ESTALE)
C(ETIME)
C(ETIMEDOUT)
C(ETXTBSY)
C(EWOULDBLOCK)
C(EXDEV)
#endif
}