Synopsis

#include <stdio.h>

void perror(const char *str);

Description

Prints a descriptive error message to stderr. First the string str is printed followed by a colon and then a space.

Return value

Errors