Amiga Unix — 68040 · 68060

Manual pages › C library (3C)

psignal(3C)

system signal messages

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

Also by this name: psignal(3B), BSD C library

NAME

psignal, psiginfo - system signal messages

SYNOPSIS

#include <siginfo.h>

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

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

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), perror(3), siginfo(5), signal(5).