strerror

strerror, strerror_s, strerrorlen_s

Defined in header <string.h>
char* strerror( int errnum );
(1)
errno_t strerror_s( char *buf, rsize_t bufsz, errno_t errnum );
(2) (since C11)
size_t strerrorlen_s( errno_t errnum );
(3) (since C11)
1) Returns a pointer to the textual description of the system error code errnum, identical to the description that would be print