Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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()