Home > Electronics Tutorials > C Language Tutorial > stdio.h - Error Functions - perror

C Language Programming Library Reference Guide

stdio.h - Error Functions - perror

Declaration: void perror(const char *str); Prints a descriptive error message to stderr. First the string str is printed followed by a colon then a space. Then an error message based on the current setting of the variable errno is printed.
Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......