* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)ftime.c 5.1 (Berkeley) %G%";
* Backwards compatible ftime.
register struct timeb
*tp
;
if (gettimeofday(&t
, &tz
) < 0)
tp
->millitm
= t
.tv_usec
/ 1000;
tp
->timezone
= tz
.tz_minuteswest
;
tp
->dstflag
= tz
.tz_dsttime
;