as a programmer , how to use "char* strerror_tl(int errnum)" , what file should be include
时间: 2024-05-28 12:09:19 浏览: 101
?To use "char *strerror_tl(int errnum)" as a programmer, you need to include the <errno.h> header file. This function returns a pointer to a string describing the error code passed in the argument 'errnum'.
相关问题
as a programmer , does the below code have error : int errno = 12; strerror_tl(errno);
Yes, there is an error in the code. The function "strerror_tl" is not a standard function and is not defined in the code snippet. Therefore, the compiler will generate an error message. The correct function should be "strerror" which is defined in the "string.h" header file.
阅读全文