RT-Thread RTOS  1.2.0
An open source embedded real-time operating system
+ Collaboration diagram for Error Code:

error code

The error code is defined to identify which kind of error occurs. When some bad things happen, the current thread's errno will be set.