std::strerror
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. |
| Defined in header <cstring>
|
||
| char* strerror( int errnum ); |
||
Retourne la version texte de la
errnum code d'erreur. errnum est généralement acquise à partir de la variable errno, mais la fonction accepte tout type de valeur de int. Le message est spécifique à la localisation .Original:
Returns text version of the error code
errnum. errnum is usually acquired from the errno variable, however the function accepts any value of type int. The message is locale-specific.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.
La chaîne d'octets retournés ne doivent pas être modifiés par le programme, mais peut être remplacée par un appel ultérieur à la fonction
strerror . Original:
The returned byte string must not be modified by the program, but may be overwritten by a subsequent call to the
strerror function. 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.
Sommaire |
[modifier] Paramètres
| errnum | - | valeur intégrale se référant à un code d'erreur
Original: integral value referring to a error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] Retourne la valeur
Pointeur vers une chaîne d'octets terminée par NULL correspondant à la
errnum code d'erreur .Original:
Pointer to a null-terminated byte string corresponding to the error code
errnum.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.
[modifier] Exemple
Résultat :
log(-1) failed: Numerical argument out of domain
[modifier] Voir aussi
| macros pour des conditions standard d'erreur compatible POSIX Original: macros for standard POSIX-compatible error conditions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (constante macro) | |
| C documentation for strerror
| |

