ERRNO.H(3) Library Functions Manual ERRNO.H(3)

NAME

errno.herror results

SYNOPSIS

#include <errno.h>

DESCRIPTION

The header defines the value errno to be an lvalue of thread-local storage duration.

From the ISO C standard, the following error code constants are defined:

ERANGE
indicating a value is out of range
EDOM
indicating that a value is outside the domain of the current function
EILSEQ
indicating an invalid character sequence

From the ISO C++ 2011 standard, the following error code constants are defined:

E2BIG
ECONNRESET
EISCONN
ENOENT
ENOTRECOVERABLE
EROFS
EACCES
EDEADLK
EISDIR
ENOEXEC
ENOTSOCK
ESPIPE
EADDRINUSE
EDESTADDRREQ
ELOOP
ENOLCK
ENOTSUP
ESRCH
EADDRNOTAVAIL
EMFILE
ENOLINK
ENOTTY
ETIME
EAFNOSUPPORT
EEXIST
EMLINK
ENOMEM
ENXIO
ETIMEDOUT
EAGAIN
EFAULT
EMSGSIZE
ENOMSG
EOPNOTSUPP
ETXTBSY
EALREADY
EFBIG
ENAMETOOLONG
ENOPROTOOPT
EOVERFLOW
EWOULDBLOCK
(which may have the same value as EAGAIN)
EBADF
EHOSTUNREACH
ENETDOWN
ENOSPC
EOWNERDEAD
EXDEV
EBADMSG
EIDRM
ENETRESET
ENOSR
EPERM
EBUSY
ENETUNREACH
ENOSTR
EPIPE
ECANCELED
EINPROGRESS
ENFILE
ENOSYS
EPROTO
ECHILD
EINTR
ENOBUFS
ENOTCONN
EPROTONOSUPPORT
ECONNABORTED
EINVAL
ENODATA
ENOTDIR
EPROTOTYPE

SEE ALSO

errno(3)

STANDARDS

Conforming to ISO/IEC 9899:1990 (“ISO C90”), ISO/IEC 9899:1999 (“ISO C99”), ISO/IEC 14882:2011 "ISO C++ 11"
February 20, 2013 Fusion