errno.h File Reference

__errno ( void )

IMPORT_C int *__errno(void)

errno

Represents the error value.

EPERM

Operation not permitted.

ENOENT

No such file or directory.

ESRCH

No such process.

EINTR

Interrupted function.

EIO

I/O Error

ENXIO

No such device or address.

E2BIG

Defines that the argument list is too long.

ENOEXEC

Executable file format error.

EBADF

Bad file descriptor.

ECHILD

No child processes.

EDEADLK

Resource deadlock would occur.

ENOMEM

Not enough space.

EACCES

Permission Denied

EFAULT

Bad address.

ENOTBLK

Block device required

EBUSY

Device or resource busy.

EEXIST

File exists.

EXDEV

Cross-device link.

ENODEV

No such device.

ENOTDIR

Not a directory.

EISDIR

Is a directory.

EINVAL

Invalid argument.

ENFILE

Too many files open in system.

EMFILE

Too many open files.

ENOTTY

Inappropriate I/O control operation.

ETXTBSY

EFBIG

File too large.

ENOSPC

No space left on device

ESPIPE

Invalid seek.

EROFS

Read-only file system.

EMLINK

Too many links.

EPIPE

Broken pipe.

EDOM

Mathematics argument out of domain of function.

ERANGE

Result too large.

EAGAIN

Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).

EWOULDBLOCK

Operation would block (may be the same value as [EAGAIN]).

EINPROGRESS

Operation in progress.

EALREADY

Connection already in progress.

ENOTSOCK

Not a socket.

EDESTADDRREQ

Destination address required.

EMSGSIZE

Message too large.

EPROTOTYPE

Protocol wrong type for socket.

ENOPROTOOPT

Protocol not available.

EPROTONOSUPPORT

Protocol not supported.

ESOCKTNOSUPPORT

Socket not supported.

EOPNOTSUPP

Operation not supported on socket.

ENOTSUP

Not supported.

EPFNOSUPPORT

Protocol family not supported

EAFNOSUPPORT

Address family not supported.

EADDRINUSE

Address in use.

EADDRNOTAVAIL

Address not available.

ENETDOWN

Network is down.

ENETUNREACH

Network unreachable.

ENETRESET

Connection aborted by network.

ECONNABORTED

Connection aborted.

ECONNRESET

Connection reset.

ENOBUFS

No buffer space available.

EISCONN

Socket is connected.

ENOTCONN

Socket is not connected

ESHUTDOWN

Can't send after socket shutdown

ETOOMANYREFS

Too many references: can't splice

ETIMEDOUT

Connection timed out.

ECONNREFUSED

Connection refused.

ELOOP

Too many levels of symbolic links.

ENAMETOOLONG

Filename too long.

EHOSTDOWN

Host is down

EHOSTUNREACH

Host is unreachable.

ENOTEMPTY

Directory not empty

EPROCLIM

Too many processes

EUSERS

Too many users

EDQUOT

Reserved.

ESTALE

EREMOTE

Too many levels of remote in path

EBADRPC

RPC struct is bad

ERPCMISMATCH

RPC version wrong

EPROGUNAVAIL

RPC prog. not avail

EPROGMISMATCH

Program version wrong

EPROCUNAVAIL

Bad procedure for program

ENOLCK

No locks available

ENOSYS

Function not implemented

EFTYPE

Inappropriate file type or format

EAUTH

Authentication error

ENEEDAUTH

Need authenticator

EIDRM

Identifier removed.

ENOMSG

No message of desired type

EOVERFLOW

Value too large to be stored in data type

ECANCELED

Operation canceled

EILSEQ

Illegal byte sequence.

ENOATTR

Attribute not found

EDOOFUS

Programming error

EBADMSG

Bad message

EMULTIHOP

Multihop attempted

ENOLINK

Link has been severed

EPROTO

Protocol error

ECOMM

__EMAXERRNO

ELAST

Must be equal to largest errno