Pike v8.1 release 6

Method Stdio.perror()


Method perror

void perror(string s)

Description

This function prints a message to stderr along with a description of what went wrong if available. It uses the system errno to find out what went wrong, so it is only applicable to IO errors.

See also

werror()