strerror: returns error message associated with the errnum : strerror « string.h « C / ANSI-C






strerror: returns error message associated with the errnum


    
//Declaration:  char *strerror(int errnum); 
//Return:       returns error message associated with the errnum. 

#include<string.h>
#include<stdio.h>

int main(void){
  printf(strerror(10));
}


           
       








Related examples in the same category

1.strerror(errno)