C Standard Library Reference Guide (3) errno.h

Source: Internet
Author: User

3. errno.h

The error dock file is used as a generic error handler.

Macro:

EDOM

Erange

Variables:

Errno

3.1. EDOM

Statement:

#define Edomsome_value

Edom is a macro declared by the #define. It represents a domain error returned by the math function when an error occurs in the domain of a mathematical function.

3.2. Erange

Statement:

#define Erangesome_value

Erange is a macro declared by the #define. It represents a range error returned by the math function when the range of values in a mathematical function has been wrong.

3.3. errno

Statement:

int errno;

The variable errno the start of the program with a value of 0. If an error occurs, the variable is given the error code of the corresponding error.

Original English: http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.3.html

Original Author: Eric Huss

Chinese translator: Liu Yong poechant

Copyright: The original copy of this article is owned by Eric Huss, and the Chinese translation is poechant All rights reserved. Reprint please specify from "Liuda csdn blog": http://blog.csdn.net/poechant

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.