Error handling

Da cppreference.com.
< c

 
 
La gestione degli errori
Codici di errore
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Codici di errore
errno
Asserzioni
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
assert
 

[modifica]Tipi

Definizione nell'header <errno.h>
Definizione nell'header <stdio.h>
errno_t
(C11)
the type of errno value
(typedef)

[modifica]Errore numeri

Definizione nell'header <errno.h>
macro che si espande a POSIX thread locale variable
(variabili macro) Numero di errore
Original:
macro which expands to POSIX-compatible thread-local error number variable
(variabili macro)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifica]
macro per standard POSIX compatibili con le condizioni di errore
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.

(macro costante)[modifica]

[modifica]Asserzioni

Definizione nell'header <assert.h>
interrompe il programma se la condizione specificata dall'utente non è true. Può essere disattivato per build di rilascio
Original:
aborts the program if the user-specified condition is not true. May be disabled for release builds
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(funzione macro)[modifica]
issues a compile-time diagnostic if the value of a constant expression is false
(funzione macro)
close