#include <stdio.h>
void perror(const char *msg);
perror() writes an error message appropriate for the current value of errno to stderr. The character string msg is part of perror's output.
assert() and
strerror()