ack/plat/em/libsys/time.c

12 lines
184 B
C
Raw Normal View History

1994-06-24 14:02:31 +00:00
/* $Id$ */
1985-01-01 22:27:02 +00:00
#include <sys/types.h>
#include <sys/timeb.h>
1990-01-22 11:48:01 +00:00
time_t
time(timpt) time_t *timpt ; {
1985-01-01 22:27:02 +00:00
struct timeb buf ;
ftime(&buf) ;
if ( timpt ) *timpt= buf.time ;
return buf.time ;
}