.\" openfwtk project: hup_exit.3 1-Nov-2000 .TH hup_exit 3 .SH NAME hup_exit() \- generic termination signal handler .SH SYNOPSIS .nf #include "fwfunc.h" .fi .sp void \fBhup_exit\fP(int sig) .SH DESCRIPTION The function records `caught signal' log message and exits with code 1. Usually should not be called directly. .SH EXAMPLES signal(SIGHUP, hup_exit); .PP signal(SIGTERM, hup_exit); .SH SEE ALSO signal(3) .SH HISTORY present in fwtk since v1