Error numbers
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Cada una de las macros definidas en
<cerrno> se expande para expresiones constantes enteras con int tipo, cada uno con un valor positivo, igualando la mayor parte del POSIX error codes. Las constantes se definen los siguientes (la aplicación puede definir más, siempre que comienzan con 'E' seguido de dígitos o letras mayúsculas)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.
You can help to correct and verify the translation. Click here for instructions.
| Definido en la cabecera
<cerrno> | |
| E2BIG (C++11) |
Argumento demasiado larga lista 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. (macro de constante) |
| EACCES (C++11) |
Permiso denegado 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. (macro de constante) |
| EADDRINUSE (C++11) |
Dirección en uso 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. (macro de constante) |
| EADDRNOTAVAIL (C++11) |
La dirección no está disponible 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. (macro de constante) |
| EAFNOSUPPORT (C++11) |
Familia de direcciones no es compatible 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. (macro de constante) |
| EAGAIN (C++11) |
Recursos disponibles, inténtelo de nuevo 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. (macro de constante) |
| EALREADY (C++11) |
Conexión en curso 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. (macro de constante) |
| EBADF (C++11) |
Descriptor de archivo incorrecto 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. (macro de constante) |
| EBADMSG (C++11) |
Bad mensaje 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. (macro de constante) |
| EBUSY (C++11) |
Dispositivo o recurso ocupado 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. (macro de constante) |
| ECANCELED (C++11) |
Operación cancelada 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. (macro de constante) |
| ECHILD (C++11) |
No hay procesos hijos 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. (macro de constante) |
| ECONNABORTED (C++11) |
Conexión abortada 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. (macro de constante) |
| ECONNREFUSED (C++11) |
Conexión rechazada 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. (macro de constante) |
| ECONNRESET (C++11) |
Conexión restablecida 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. (macro de constante) |
| EDEADLK (C++11) |
Punto muerto de recurso se produciría 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. (macro de constante) |
| EDESTADDRREQ (C++11) |
Dirección de destino requerido 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. (macro de constante) |
| EDOM |
Matemáticas argumento de dominio de la función 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. (macro de constante) |
| EEXIST (C++11) |
El archivo existe 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. (macro de constante) |
| EFAULT (C++11) |
Dirección errónea 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. (macro de constante) |
| EFBIG (C++11) |
El archivo es demasiado grande 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. (macro de constante) |
| EHOSTUNREACH (C++11) |
Host es inalcanzable 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. (macro de constante) |
| EIDRM (C++11) |
Identificador eliminado 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. (macro de constante) |
| EILSEQ (C++11) |
Secuencia de bytes no válida 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. (macro de constante) |
| EINPROGRESS (C++11) |
Operación en curso 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. (macro de constante) |
| EINTR (C++11) |
Interrumpido función 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. (macro de constante) |
| EINVAL (C++11) |
Argumento no válido 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. (macro de constante) |
| EIO (C++11) |
I / O error 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. (macro de constante) |
| EISCONN (C++11) |
Socket está conectado 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. (macro de constante) |
| EISDIR (C++11) |
Es un directorio 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. (macro de constante) |
| ELOOP (C++11) |
Demasiados niveles de enlaces simbólicos 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. (macro de constante) |
| EMFILE (C++11) |
El archivo descriptor valor demasiado grande 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. (macro de constante) |
| EMLINK (C++11) |
Demasiados enlaces 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. (macro de constante) |
| EMSGSIZE (C++11) |
Mensaje demasiado grande 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. (macro de constante) |
| ENAMETOOLONG (C++11) |
Nombre de archivo demasiado largo 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. (macro de constante) |
| ENETDOWN (C++11) |
Red desconectada 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. (macro de constante) |
| ENETRESET (C++11) |
Conexión abortada por la red 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. (macro de constante) |
| ENETUNREACH (C++11) |
Red inalcanzable 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. (macro de constante) |
| ENFILE (C++11) |
Demasiados ficheros abiertos en el sistema 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. (macro de constante) |
| ENOBUFS (C++11) |
No hay espacio de búfer disponible 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. (macro de constante) |
| ENODATA (C++11) |
No hay ningún mensaje disponible en la cola de flujo de lectura cabeza 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. (macro de constante) |
| ENODEV (C++11) |
No existe el dispositivo 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. (macro de constante) |
| ENOENT (C++11) |
No existe el fichero o directorio 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. (macro de constante) |
| ENOEXEC (C++11) |
Archivo ejecutable formato de 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. (macro de constante) |
| ENOLCK (C++11) |
No bloquea disponible 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. (macro de constante) |
| ENOLINK (C++11) |
Enlace se ha roto 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. (macro de constante) |
| ENOMEM (C++11) |
No hay suficiente espacio 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. (macro de constante) |
| ENOMSG (C++11) |
No hay ningún mensaje del tipo deseado 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. (macro de constante) |
| ENOPROTOOPT (C++11) |
Protocolo no disponible 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. (macro de constante) |
| ENOSPC (C++11) |
No queda espacio en el dispositivo 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. (macro de constante) |
| ENOSR (C++11) |
No hay recursos Stream 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. (macro de constante) |
| ENOSTR (C++11) |
No es un 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. (macro de constante) |
| ENOSYS (C++11) |
Función no soportada 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. (macro de constante) |
| ENOTCONN (C++11) |
El socket no está conectado 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. (macro de constante) |
| ENOTDIR (C++11) |
No es un directorio 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. (macro de constante) |
| ENOTEMPTY (C++11) |
Directorio no está vacío 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. (macro de constante) |
| ENOTRECOVERABLE (C++11) |
Estado que no sea recuperable 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. (macro de constante) |
| ENOTSOCK (C++11) |
No es un socket 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. (macro de constante) |
| ENOTSUP (C++11) |
No se admite 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. (macro de constante) |
| ENOTTY (C++11) |
Inadecuado control I / O operación 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. (macro de constante) |
| ENXIO (C++11) |
No existe el dispositivo o la dirección 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. (macro de constante) |
| EOPNOTSUPP (C++11) |
La operación no soportada en socket 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. (macro de constante) |
| EOVERFLOW (C++11) |
El valor es demasiado grande para ser almacenado en tipo de datos 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. (macro de constante) |
| EOWNERDEAD (C++11) |
Antiguo propietario murió 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. (macro de constante) |
| EPERM (C++11) |
Operación no permitida 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. (macro de constante) |
| EPIPE (C++11) |
Broken tubería 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. (macro de constante) |
| EPROTO (C++11) |
Protocolo de error 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. (macro de constante) |
| EPROTONOSUPPORT (C++11) |
Protocolo no soportado 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. (macro de constante) |
| EPROTOTYPE (C++11) |
Protocolo mal tipo de socket 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. (macro de constante) |
| ERANGE |
Resultar demasiado grande 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. (macro de constante) |
| EROFS (C++11) |
De sólo lectura del sistema de archivos 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. (macro de constante) |
| ESPIPE (C++11) |
Invalid buscan 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. (macro de constante) |
| ESRCH (C++11) |
No dicho proceso 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. (macro de constante) |
| ETIME (C++11) |
Stream ioctl () de tiempo de espera 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. (macro de constante) |
| ETIMEDOUT (C++11) |
Connection timed out 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. (macro de constante) |
| ETXTBSY (C++11) |
Archivo de texto ocupado 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. (macro de constante) |
| EWOULDBLOCK (C++11) |
Operación se bloqueara 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. (macro de constante) |
| 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. (macro de constante) |
Todos los valores están obligados a ser única excepción de que los valores de
EOPNOTSUPP y ENOTSUP pueden ser idénticos y los valores de EAGAIN EWOULDBLOCK y pueden ser idénticosOriginal:
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 identicalThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ejemplo
#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'; } }
Salida:
log(-1) failed: Numerical argument out of domain
[editar] Ver también
| (C++11) |
la enumeración std::error_condition lista de todos los estándares <cerrno> constantes macroOriginal: the std::error_condition enumeration listing all standard <cerrno> macro constantsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (clase) |
| macro que se expande para POSIX compatible local de subprocesos variable
(variables macro) número de error Original: macro which expands to POSIX-compatible thread-local error number variable (variables macro) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| muestra una cadena de caracteres correspondiente del error actual a 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. (función) | |
| devuelve una versión de texto de un código de error 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. (función) |

