strerror#

Message string for an errno value.

Synopsis#

use POSIX qw(strerror);
print strerror($!);

What you get back#

A byte string in the current locale, like "No such file or directory". For unknown error numbers, libc returns an implementation-defined placeholder.

Differences from upstream#

Fully compatible with upstream POSIX.