Item Value
Header filestdio.h
Declarationvoid perror(const char *str);
Functionmaps error message to the global variable errno and outputs that string to stderr.
#include
#include
int main(void)
{
perror("File error ");
}
File error : No Error