hangup
set_signal(SIGHUP, hangup);
void hangup(int) __dead2;
signal(SIGHUP, hangup);
strncpy(cx->cfg.script.hangup, argp, sizeof cx->cfg.script.hangup - 1);
cx->cfg.script.hangup[sizeof cx->cfg.script.hangup - 1] = '\0';
arg->cx->cfg.script.hangup);
if (!chat_Setup(&dl->chat, dl->cfg.script.hangup, NULL))
if (!chat_Setup(&dl->chat, dl->cfg.script.hangup, NULL))
if (!chat_Setup(&dl->chat, dl->cfg.script.hangup, NULL))
if (!chat_Setup(&dl->chat, dl->cfg.script.hangup, NULL))
*dl->cfg.script.hangup = '\0';
char hangup[SCRIPT_LEN];