Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

core.stdc.errno

D header file for C99.
This module contains bindings to selected types and functions from the standard C header <errno.h>. Note that this is not automatically generated, and may omit some types/functions from the original C header.
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
Authors:
Sean Kelly, Alex Rønne Petersen

Source: core/stdc/errno.d

Standards:
ISO/IEC 9899:1999 (E)
nothrow @nogc @property @trusted int errno();

nothrow @nogc @property @trusted int errno(int n);

int EPERM;
Operation not permitted
int ENOENT;
No such file or directory
int ESRCH;
No such process
int EINTR;
Interrupted system call
int EIO;
I/O error
int ENXIO;
No such device or address
int E2BIG;
Argument list too long
int ENOEXEC;
Exec format error
int EBADF;
Bad file number
int ECHILD;
No child processes
int EAGAIN;
Try again
int ENOMEM;
Out of memory
int EACCES;
Permission denied
int EFAULT;
Bad address
int ENOTBLK;
Block device required
int EBUSY;
Device or resource busy
int EEXIST;
File exists
int EXDEV;
Cross-device link
int ENODEV;
No such device
int ENOTDIR;
Not a directory
int EISDIR;
Is a directory
int EINVAL;
Invalid argument
int ENFILE;
File table overflow
int EMFILE;
Too many open files
int ENOTTY;
Not a typewriter
int ETXTBSY;
Text file busy
int EFBIG;
File too large
int ENOSPC;
No space left on device
int ESPIPE;
Illegal seek
int EROFS;
Read-only file system
int EMLINK;
Too many links
int EPIPE;
Broken pipe
int EDOM;
Math argument out of domain of func
int ERANGE;
Math result not representable
int EDEADLK;
Resource deadlock would occur
int ENAMETOOLONG;
File name too long
int ENOLCK;
No record locks available
int ENOSYS;
Function not implemented
int ENOTEMPTY;
Directory not empty
int ELOOP;
Too many symbolic links encountered
int EWOULDBLOCK;
Operation would block
int ENOMSG;
No message of desired type
int EIDRM;
Identifier removed
int ECHRNG;
Channel number out of range
int EL2NSYNC;
Level 2 not synchronized
int EL3HLT;
Level 3 halted
int EL3RST;
Level 3 reset
int ELNRNG;
Link number out of range
int EUNATCH;
Protocol driver not attached
int ENOCSI;
No CSI structure available
int EL2HLT;
Level 2 halted
int EBADE;
Invalid exchange
int EBADR;
Invalid request descriptor
int EXFULL;
Exchange full
int ENOANO;
No anode
int EBADRQC;
Invalid request code
int EBADSLT;
Invalid slot
int EDEADLOCK;
Resource deadlock would occur
int EBFONT;
Bad font file format
int ENOSTR;
Device not a stream
int ENODATA;
No data available
int ETIME;
Timer expired
int ENOSR;
Out of streams resources
int ENONET;
Machine is not on the network
int ENOPKG;
Package not installed
int EREMOTE;
Object is remote
int ENOLINK;
Link has been severed
int EADV;
Advertise error
int ESRMNT;
Srmount error
int ECOMM;
Communication error on send
int EPROTO;
Protocol error
int EMULTIHOP;
Multihop attempted
int EDOTDOT;
RFS specific error
int EBADMSG;
Not a data message
int EOVERFLOW;
Value too large for defined data type
int ENOTUNIQ;
Name not unique on network
int EBADFD;
File descriptor in bad state
int EREMCHG;
Remote address changed
int ELIBACC;
Can not access a needed shared library
int ELIBBAD;
Accessing a corrupted shared library
int ELIBSCN;
.lib section in a.out corrupted
int ELIBMAX;
Attempting to link in too many shared libraries
int ELIBEXEC;
Cannot exec a shared library directly
int EILSEQ;
Illegal byte sequence
int ERESTART;
Interrupted system call should be restarted
int ESTRPIPE;
Streams pipe error
int EUSERS;
Too many users
int ENOTSOCK;
Socket operation on non-socket
int EDESTADDRREQ;
Destination address required
int EMSGSIZE;
Message too long
int EPROTOTYPE;
Protocol wrong type for socket
int ENOPROTOOPT;
Protocol not available
int EPROTONOSUPPORT;
Protocol not supported
int ESOCKTNOSUPPORT;
Socket type not supported
int EOPNOTSUPP;
Operation not supported on transport endpoint
int ENOTSUP;
Operation not supported on transport endpoint
int EPFNOSUPPORT;
Protocol family not supported
int EAFNOSUPPORT;
Address family not supported by protocol
int EADDRINUSE;
Address already in use
int EADDRNOTAVAIL;
Cannot assign requested address
int ENETDOWN;
Network is down
int ENETUNREACH;
Network is unreachable
int ENETRESET;
Network dropped connection because of reset
int ECONNABORTED;
Software caused connection abort
int ECONNRESET;
Connection reset by peer
int ENOBUFS;
No buffer space available
int EISCONN;
Transport endpoint is already connected
int ENOTCONN;
Transport endpoint is not connected
int ESHUTDOWN;
Cannot send after transport endpoint shutdown
int ETOOMANYREFS;
Too many references: cannot splice
int ETIMEDOUT;
Connection timed out
int ECONNREFUSED;
Connection refused
int EHOSTDOWN;
Host is down
int EHOSTUNREACH;
No route to host
int EALREADY;
Operation already in progress
int EINPROGRESS;
Operation now in progress
int ESTALE;
Stale NFS file handle
int EUCLEAN;
Structure needs cleaning
int ENOTNAM;
Not a XENIX named type file
int ENAVAIL;
No XENIX semaphores available
int EISNAM;
Is a named type file
int EREMOTEIO;
Remote I/O error
int EDQUOT;
Quota exceeded
int ENOMEDIUM;
No medium found
int EMEDIUMTYPE;
Wrong medium type
int ECANCELED;
Operation Canceled
int ENOKEY;
Required key not available
int EKEYEXPIRED;
Key has expired
int EKEYREVOKED;
Key has been revoked
int EKEYREJECTED;
Key was rejected by service
int EOWNERDEAD;
Owner died
int ENOTRECOVERABLE;
State not recoverable