ss_string_perror(3) - Linux man page

Name

ss_string_perror - prints a library error message

Synopsis

#include <sstrings.h>

Linking with -lsstrings2

void ss_string_perror(const char *msg);

Description

The routine perror produces a message on the standard error output, describing the last error encountered during a call to a system or library function. First (if msg is not NULL and *msg is not a null byte ('\0')) the argument string s is printed, followed by a colon and a blank. Then the message and a new-line.

To be of most use, the argument string should include the name of the function that incurred the error. The error number is taken from the external variable ss_errno, which is set when errors occur but not cleared when non-erroneous calls are made.

Bugs

Please send your bug reports to yanezp@informatik.uni-freiburg.de

Referenced By

sstrings2(5)