02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

signal(3) signal(3)<br />

NAME<br />

signal - specify what to do upon receipt of a signal<br />

SYNOPSIS<br />

finclude <br />

int (* signal (sig, June)) ()<br />

int sig;<br />

void (*fune) () ;<br />

DESCRIPTION<br />

signal allows the calling process to choose one of three ways in<br />

which it is possible to handle the receipt of a specific signal. sig<br />

specifies the signal andJune specifies the choice.<br />

sig can be assigned anyone of the following except S I GKI LL:<br />

1<br />

SIGHUP 1<br />

SIGINT 2<br />

SIGQUIT 3*<br />

SIGILL 4*<br />

SIGTRAP 5*<br />

SIGIOT 6*<br />

SIGEMT 7*<br />

SIGFPE 8*<br />

SIGKILL 9<br />

SIGBUS 10*<br />

SIGSEGV 11*<br />

SIGSYS 12*<br />

SIGPIPE 13<br />

SIGALRM 14<br />

SIGTERM 15<br />

SIGUSRl 16<br />

SIGUSR2 17<br />

SIGCLD IS.<br />

SIGPWR 19<br />

SIGTSTP 20t<br />

SIGTTIN 21t<br />

SIGTTOU 22t<br />

SIGSTOP 23t<br />

SIGXCPU 24<br />

SIGXFSZ 25<br />

SIGVTALRM 26<br />

SIGPROF 27<br />

SIGWINCH 28.<br />

hangup<br />

interrupt<br />

quit<br />

illegal instruction<br />

trace trap<br />

lOT instruction<br />

EMT instruction<br />

floating point exception<br />

kill (cannot be caught, blocked. or ignored)<br />

bus error<br />

segmentation violation<br />

bad argument to system call<br />

write on a pipe with no one to read it<br />

alarm clock<br />

software termination signal<br />

user defined signal 1<br />

user defined signal 2<br />

child status has changed<br />

power-fail restart<br />

stop signal generated from keyboard<br />

background read attempted from control terminal<br />

background write attempted to control terminal<br />

stop (cannot be caught, blocked, or ignored)<br />

cpu time limit exceeded<br />

file size limit exceeded<br />

virtual time alarm (see seti timer(2»<br />

profiling timer alarm (see setitimer(2»<br />

window size change<br />

February, 1990<br />

Revision C

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!