hup
char *hup = NULL; /* hup filename */
(hup = (char *) malloc(n + 10)) != NULL) {
strcpy(hup, s);
if (hup[n - 1] != '/')
hup[n] = '/', hup[n+1] = '\0';
strcat(hup, "ed.hup");
write_file(hup, "w", 1, addr_last);
sa.sa_handler = hup;
static void hup(int sig);
signal(SIGHUP, hup);