Namespaces
Variants
Views
Actions

E2BIG, EACCESS, ..., EXDEV

From cppreference.com
< cpp‎ | error
Revision as of 07:20, 3 November 2011 by Cubbi (Talk | contribs)

Template:cpp/error/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <cerrno>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define EDOM /* implementation-defined */
#define ERANGE /* implementation-defined */
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td >
#define E2BIG /* implementation-defined */

#define EACCES /* implementation-defined */
#define EADDRINUSE /* implementation-defined */
#define EADDRNOTAVAIL /* implementation-defined */
#define EAFNOSUPPORT /* implementation-defined */
#define EAGAIN /* implementation-defined */
#define EALREADY /* implementation-defined */
#define EBADF /* implementation-defined */
#define EBADMSG /* implementation-defined */
#define EBUSY /* implementation-defined */
#define ECANCELED /* implementation-defined */
#define ECHILD /* implementation-defined */
#define ECONNABORTED /* implementation-defined */
#define ECONNREFUSED /* implementation-defined */
#define ECONNRESET /* implementation-defined */
#define EDEADLK /* implementation-defined */
#define EDESTADDRREQ /* implementation-defined */
#define EEXIST /* implementation-defined */
#define EFAULT /* implementation-defined */
#define EFBIG /* implementation-defined */
#define EHOSTUNREACH /* implementation-defined */
#define EIDRM /* implementation-defined */
#define EILSEQ /* implementation-defined */
#define EINPROGRESS /* implementation-defined */
#define EINTR /* implementation-defined */
#define EINVAL /* implementation-defined */
#define EIO /* implementation-defined */
#define EISCONN /* implementation-defined */
#define EISDIR /* implementation-defined */
#define ELOOP /* implementation-defined */
#define EMFILE /* implementation-defined */
#define EMLINK /* implementation-defined */
#define EMSGSIZE /* implementation-defined */
#define ENAMETOOLONG /* implementation-defined */
#define ENETDOWN /* implementation-defined */
#define ENETRESET /* implementation-defined */
#define ENETUNREACH /* implementation-defined */
#define ENFILE /* implementation-defined */
#define ENOBUFS /* implementation-defined */
#define ENODATA /* implementation-defined */
#define ENODEV /* implementation-defined */
#define ENOENT /* implementation-defined */
#define ENOEXEC /* implementation-defined */
#define ENOLCK /* implementation-defined */
#define ENOLINK /* implementation-defined */
#define ENOMEM /* implementation-defined */
#define ENOMSG /* implementation-defined */
#define ENOPROTOOPT /* implementation-defined */
#define ENOSPC /* implementation-defined */
#define ENOSR /* implementation-defined */
#define ENOSTR /* implementation-defined */
#define ENOSYS /* implementation-defined */
#define ENOTCONN /* implementation-defined */
#define ENOTDIR /* implementation-defined */
#define ENOTEMPTY /* implementation-defined */
#define ENOTRECOVERABLE /* implementation-defined */
#define ENOTSOCK /* implementation-defined */
#define ENOTSUP /* implementation-defined */
#define ENOTTY /* implementation-defined */
#define ENXIO /* implementation-defined */
#define EOPNOTSUPP /* implementation-defined */
#define EOVERFLOW /* implementation-defined */
#define EOWNERDEAD /* implementation-defined */
#define EPERM /* implementation-defined */
#define EPIPE /* implementation-defined */
#define EPROTO /* implementation-defined */
#define EPROTONOSUPPORT /* implementation-defined */
#define EPROTOTYPE /* implementation-defined */
#define EROFS /* implementation-defined */
#define ESPIPE /* implementation-defined */
#define ESRCH /* implementation-defined */
#define ETIME /* implementation-defined */
#define ETIMEDOUT /* implementation-defined */
#define ETXTBSY /* implementation-defined */
#define EWOULDBLOCK /* implementation-defined */

#define EXDEV /* implementation-defined */
</td>

<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> Template:ddcl list end

Each of the macros defined in <cerrno> expands to integer constant expressions with type Template:cpp, each with a unique positive value, matching some of the POSIX error codes.


Example

Template:example cpp

See also

Template:cpp/io/c/dcl list perrorTemplate:cpp/string/narrow/dcl list strerror
macro which expands to POSIX-compatible thread-local error number variable
(macro constant)