Submitted by: danfe
and outputs the associated textual message in the same way that perror(3) would if called within a program.