ba_strerror() -- retrieve error message
#include <netinet/ba_stat.h> char *ba_sterror(int errnum);
The function ba_strerror() retrieves the error message associated with the error code errnum. It is equivalent to the system function strerror(3C).
The function ba_strerror() is passed the following argument:
|
errnum |
Integer error code. |
The function ba_strerror() returns a pointer to a character string that contains the error message on success, and -1 on error.