char *strerror(int num);

strerror maps the number in num to a message string. Typically, the values for num come from errno, but strerror can map any value of type int to a message.

strerror returns a pointer to the message string. The program must not modify the returned message string. The message may be overwritten by a subsequent call to strerror.