tm = localtime(&t1);
strftime(str, MAXLINE, "%b %d %H:%M:%S", tm);
fprintf(outfd, "%s %s ", str, hostname);
tm = localtime(&t1);
strftime(str, MAXLINE, "%b %d %H:%M:%S", tm);
fprintf(outfd, "%s %s ", str, hostname);
fprintf(outfd, "%i ", ll);
va_start(argp, fmt);
vfprintf(outfd, fmt, argp);
fprintf(outfd, "%i ", ll);
va_start(argp, fmt);
vfprintf(outfd, fmt, argp);