C Tutorial/string.h/strerror
strerror
Item Value Header file string.h Declaration char *strerror(int errnum); Return returns error message associated with the errnum.
Print an implementation-defined error message on the screen:
#include<string.h>
#include<stdio.h>
int main(void){
printf(strerror(10));
}