static char *SccsId = "@(#)ftime.c 2.3 3/3/83"; #include struct timeb { time_t time; unsigned short millitm; short timezone; short dstflag; }; extern long timezone; extern int daylight; ftime(tp) struct timeb *tp; { long t; time(&t); tp->time = t; tp->millitm = 0; tp->timezone = timezone/60; tp->dstflag = daylight; }