FMTSIZE
char fmt_buf[FMTSIZE];
(void) snprintf(fmt_buf, FMTSIZE, fstr, nsec);
static char time_buf[FMTSIZE]; /* array to hold day and time */