perror
Syntax:
  #include <stdio.h>
  void perror( const char *str );

The perror() function prints str and an implementation-defined error message corresponding to the global variable errno.