ack/lang/cem/libcc/mon/time.c

10 lines
173 B
C
Raw Normal View History

1985-01-01 22:27:02 +00:00
#include <sys/types.h>
#include <sys/timeb.h>
time_t time(timpt) time_t *timpt ; {
struct timeb buf ;
ftime(&buf) ;
if ( timpt ) *timpt= buf.time ;
return buf.time ;
}