void perror(const char *s)

Prints out the current error in errno in a readable string that explains the error