[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    psignal(3C) manual page Table of Contents

Name

psignal, psiginfo - system signal messages

Synopsis

#include <siginfo.h>

void psignal(int sig, const char *s);

void psiginfo(siginfo_t *pinfo, char *s);

MT-Level

Safe

Description

psignal() and psiginfo() produce messages on the standard error output describing a signal. sig is a signal that may have been passed as the first argument to a signal handler. pinfo is a pointer to a siginfo structure that may have been passed as the second argument to an enhanced signal handler (see sigaction(2) ). The argument string s is printed first, then a colon and a blank, then the message and a newline.

See Also

sigaction(2) , gettext(3I) , perror(3C) , setlocale(3C) , siginfo(5) , signal(5)

Notes

If the application is linked with -lintl, then messages printed from these functions are in the native language specified by the LC_MESSAGES locale category; see setlocale(3C) .


Table of Contents