|
safec 3.15
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safe_u8_lib.h"Functions | |
| errno_t | u8error_s (char8_t *dest, rsize_t dmax, errno_t errnum) |
| EXPORT size_t | u8errorlen_s (errno_t errnum) |
The u8errorlen_s function returns the untruncated byte-length of the textual description of the system error code errnum, identical to the description that would be printed by perror(). | |
| EXPORT size_t u8errorlen_s | ( | errno_t | errnum | ) |
The u8errorlen_s function returns the untruncated byte-length of the textual description of the system error code errnum, identical to the description that would be printed by perror().
Error messages are plain ASCII, so their byte-length equals their utf-8 character length.
| [in] | errnum | integer value referring to an error code |