errno

errno

Defined in header <cerrno>
#define errno /*implementation-defined*/

errno is a preprocessor macro used for error indication. It expands to a static (until C++11) thread-local (since C++11) modifiable lvalue of type int.

Several standard library functions indicate errors by writing positive integers to errno登录查看完整内容