Prints an error message
#include <stdio.h>
void perror (
const char *prefix);
(IN) Points to the error message to print.
perror returns no values. Because perror uses the fprintf function, errno can be set when an error is detected during the execution of the function.
The perror function prints, on the file designated by stderr, the error message corresponding to the error number contained in errno.