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

11 lines
188 B
C
Raw Normal View History

1987-03-31 10:45:53 +00:00
/* $Header$ */
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 ;
}