◐ Shell
clean mode source ↗

Error numbers – cppreference.com

<metanoindex/>

Jeder der Makros in <cerrno> definierten erweitert, um Integer-Konstante Ausdrücke mit Typ int, jeweils mit einem positiven Wert, womit die meisten der POSIX error codes. Die folgenden Konstanten sind definiert (die Implementierung kann mehr definieren, solange sie mit 'E' beginnen, gefolgt von Ziffern oder Großbuchstaben)

Original:

Each of the macros defined in <cerrno> expands to integer constant expressions with type int, each with a positive value, matching most of the POSIX error codes. The following constants are defined (the implementation may define more, as long as they begin with 'E' followed by digits or uppercase letters)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <cerrno>

E2BIG

(C++11)

Argument list too long

Original:

Argument list too long

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EACCES

(C++11)

Permission denied

Original:

Permission denied

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EADDRINUSE

(C++11)

Adresse in Gebrauch

Original:

Address in use

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EADDRNOTAVAIL

(C++11)

Adresse nicht verfügbar

Original:

Address not available

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EAFNOSUPPORT

(C++11)

Adresse der Familie nicht unterstützt

Original:

Address family not supported

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EAGAIN

(C++11)

Ressource nicht verfügbar, versuchen Sie es erneut

Original:

Resource unavailable, try again

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EALREADY

(C++11)

Verbindung bereits im Gange

Original:

Connection already in progress

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EBADF

(C++11)

Bad file descriptor

Original:

Bad file descriptor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EBADMSG

(C++11)

Schlechte Nachricht

Original:

Bad message

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EBUSY

(C++11)

Device or resource busy

Original:

Device or resource busy

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ECANCELED

(C++11)

Vorgang abgebrochen

Original:

Operation canceled

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ECHILD

(C++11)

Kein Kindprozess

Original:

No child processes

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ECONNABORTED

(C++11)

Verbindung abgebrochen

Original:

Connection aborted

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ECONNREFUSED

(C++11)

Connection refused

Original:

Connection refused

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ECONNRESET

(C++11)

Verbindung zurückgesetzt

Original:

Connection reset

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EDEADLK

(C++11)

Deadlock Ressource auftreten würde

Original:

Resource deadlock would occur

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EDESTADDRREQ

(C++11)

Zieladresse erforderlich

Original:

Destination address required

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EDOM

Mathematik Argument aus der Domäne der Funktion

Original:

Mathematics argument out of domain of function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EEXIST

(C++11)

Datei existiert

Original:

File exists

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EFAULT

(C++11)

Bad-Adresse

Original:

Bad address

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EFBIG

(C++11)

Datei zu groß

Original:

File too large

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EHOSTUNREACH

(C++11)

Host nicht erreichbar ist

Original:

Host is unreachable

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EIDRM

(C++11)

Identifier entfernt

Original:

Identifier removed

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EILSEQ

(C++11)

Illegal Bytefolge

Original:

Illegal byte sequence

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EINPROGRESS

(C++11)

Operation in progress

Original:

Operation in progress

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EINTR

(C++11)

Unterbrochen Funktion

Original:

Interrupted function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EINVAL

(C++11)

Invalid argument

Original:

Invalid argument

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EIO

(C++11)

I / O-Fehler

Original:

I/O error

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EISCONN

(C++11)

Steckdose angeschlossen ist

Original:

Socket is connected

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EISDIR

(C++11)

Ist ein Verzeichnis

Original:

Is a directory

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ELOOP

(C++11)

Zu viele Ebenen von symbolischen Links

Original:

Too many levels of symbolic links

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EMFILE

(C++11)

Dateideskriptor zu groß

Original:

File descriptor value too large

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EMLINK

(C++11)

Zu viele Links

Original:

Too many links

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EMSGSIZE

(C++11)

Nachricht zu groß

Original:

Message too large

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENAMETOOLONG

(C++11)

Dateiname zu lang

Original:

Filename too long

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENETDOWN

(C++11)

Netzwerk ausgefallen ist

Original:

Network is down

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENETRESET

(C++11)

Anschluss über Netzwerk abgebrochen

Original:

Connection aborted by network

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENETUNREACH

(C++11)

Network unreachable

Original:

Network unreachable

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENFILE

(C++11)

Zu viele Dateien öffnen im System

Original:

Too many files open in system

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOBUFS

(C++11)

No buffer space available

Original:

No buffer space available

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENODATA

(C++11)

Keine Nachricht ist auf der STREAM Kopf Lesewarteschlange

Original:

No message is available on the STREAM head read queue

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENODEV

(C++11)

No such device

Original:

No such device

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOENT

(C++11)

Keine solche Datei oder das Verzeichnis

Original:

No such file or directory

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOEXEC

(C++11)

Ausführbare Datei format error

Original:

Executable file format error

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOLCK

(C++11)

Kein sperrt Verfügung

Original:

No locks available

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOLINK

(C++11)

Verbindung wurde getrennt

Original:

Link has been severed

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOMEM

(C++11)

Nicht genügend Speicherplatz

Original:

Not enough space

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOMSG

(C++11)

Keine Nachricht des gewünschten Typs

Original:

No message of the desired type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOPROTOOPT

(C++11)

Protokoll nicht verfügbar

Original:

Protocol not available

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOSPC

(C++11)

Kein Platz mehr auf dem Gerät

Original:

No space left on device

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOSR

(C++11)

Keine STREAM Ressourcen

Original:

No STREAM resources

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOSTR

(C++11)

Not a STREAM

Original:

Not a STREAM

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOSYS

(C++11)

Funktion nicht unterstützt

Original:

Function not supported

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOTCONN

(C++11)

Der Socket ist nicht verbunden

Original:

The socket is not connected

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOTDIR

(C++11)

Kein Verzeichnis

Original:

Not a directory

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOTEMPTY

(C++11)

Verzeichnis ist nicht leer

Original:

Directory not empty

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOTRECOVERABLE

(C++11)

Staat nicht erstattungsfähig

Original:

State not recoverable

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOTSOCK

(C++11)

Nicht eine Steckdose

Original:

Not a socket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOTSUP

(C++11)

Nicht unterstützt

Original:

Not supported

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENOTTY

(C++11)

Unangemessen I / O Regelbetrieb

Original:

Inappropriate I/O control operation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ENXIO

(C++11)

No such device oder Adresse

Original:

No such device or address

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EOPNOTSUPP

(C++11)

Die Operation ist nicht auf dem Sockel unterstützt

Original:

Operation not supported on socket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EOVERFLOW

(C++11)

Wert zu groß, um im Datentyp gespeichert werden

Original:

Value too large to be stored in data type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EOWNERDEAD

(C++11)

Vorbesitzer gestorben

Original:

Previous owner died

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EPERM

(C++11)

Operation not permitted

Original:

Operation not permitted

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EPIPE

(C++11)

Broken pipe

Original:

Broken pipe

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EPROTO

(C++11)

Protokollfehler

Original:

Protocol error

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EPROTONOSUPPORT

(C++11)

Protokoll nicht unterstützt

Original:

Protocol not supported

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EPROTOTYPE

(C++11)

Protokoll falschen Typ für Sockel

Original:

Protocol wrong type for socket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ERANGE

Ergebnis zu groß

Original:

Result too large

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EROFS

(C++11)

Read-only-Dateisystem

Original:

Read-only file system

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ESPIPE

(C++11)

Ungültige suchen

Original:

Invalid seek

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ESRCH

(C++11)

No such process

Original:

No such process

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ETIME

(C++11)

Stream ioctl () Timeout

Original:

Stream ioctl() timeout

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ETIMEDOUT

(C++11)

Zeitüberschreitung der Verbindung

Original:

Connection timed out

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

ETXTBSY

(C++11)

Textdatei belegt

Original:

Text file busy

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EWOULDBLOCK

(C++11)

Operation würde blockieren

Original:

Operation would block

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

EXDEV

(C++11)

Cross-Device-Link

Original:

Cross-device link

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Makro konstant)

Alle Werte sind erforderlich, um eindeutig sein, außer daß die Werte von EOPNOTSUPP und ENOTSUP können identisch sein und die Werte von EAGAIN und EWOULDBLOCK können identisch sein

Original:

All values are required to be unique except that the values of EOPNOTSUPP and ENOTSUP may be identical and the values of EAGAIN and EWOULDBLOCK may be identical

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Beispiel

[edit]

#include <iostream>
#include <cmath>
#include <cerrno>
#include <cstring>

int main()
{
    double not_a_number = std::log(-1.0);
    if (errno == EDOM) {
        std::cout << "log(-1) failed: " << std::strerror(errno) << '\n';
    }
}

Output:

log(-1) failed: Numerical argument out of domain

Siehe auch

(C++11)

Die std::error_condition Aufzählung listet alle gängigen <cerrno> Makro-Konstanten

Original:

the std::error_condition enumeration listing all standard <cerrno> macro constants

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klasse) [edit]

Makro, das auf POSIX-kompatiblen lokalen Thread-Fehler-Nummer variable
(Makro-Variablen) erweitert

Original:

macro which expands to POSIX-compatible thread-local error number variable
(Makro-Variablen)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[edit]

zeigt eine Zeichenfolge entspricht der aktuellen Fehler stderr

Original:

displays a character string corresponding of the current error to stderr

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

gibt einen Text-Version eines bestimmten Fehlercode

Original:

returns a text version of a given error code

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]