ACCTFILE
if (freopen(ACCTFILE, "a", stdout) == NULL)
(void) fprintf(stderr, "cannot open %s\n", ACCTFILE);