3.1. Types¶
- wchar_t¶
Wide chars.
- bool¶
Boolean. Its value can be true or false.
3.2. Utilities¶
3.2.1. Errors¶
- void error(const wchar_t *error, ...)¶
Set an error message to be reported to the callers. The function follows the printf API and can be used in multi-threaded application. The error can then be retrieved using clear_error() and check_error().
- const char *errno_error(int err)¶
Convert the errno value to a human readable error message.
Note
The returned string will be erased by the next call to this function. The function thread-safe and can be used in multi-threaded application.