Http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.3.html.
Author: Eric Huss
Chinese translator: Liu jinhong poechant
Copyright Disclaimer: the original text in this article is copyrighted by Eric Huss, and the Chinese translation is copyrighted by poechant. Reprinted please indicate from "LIU Da's csdn blog": http://blog.csdn.net/poechant
3. errno. h
The error code header file is used as a general error handler.
MACRO:
Edom
Erange
Variables:
Errno
3.1. Edom
Statement:
# Define EdomSome_value
EdomYesby# DefineThe declared macro. It indicates a domain error returned by a mathematical function when an error occurs in the domain of a mathematical function.
3.2. erange
Statement:
# Define erangeSome_value
ErangeYesby# DefineThe declared macro. It indicates a Range Error returned by a mathematical function when the range of values in a mathematical function is incorrect.
3.3. errno
Statement:
Int errno;
VariableErrnoThe initial running value of the program is 0. If an error occurs, the variable is assigned an error code.
This series of translations is being updated continuously
(1) assert. HC standard Library Reference Guide series (2) ctype. HC standard Library Reference Guide series (3) errno. HC standard Library Reference Guide series (4) float. HC standard Library Reference Guide series (5) limits. HC standard Library Reference Guide series (6) locale. HC standard Library Reference Guide series (7) math. HC standard Library Reference Guide series (8) setjmp. HC standard Library Reference Guide series translations (9) signal. HC standard Library Reference Guide series translations (10) stdarg. HC standard Library Reference Guide series (11) stddef. HC standard Library Reference Guide series translations (12) stdio. H ()
Copyright Disclaimer: the original text in this article is copyrighted by Eric Huss, and the Chinese translation is copyrighted by poechant. Reprinted please indicate from "LIU Da's csdn blog": http://blog.csdn.net/poechant
-