7eaa235fd1
plat. It's completely untested, but it builds and makes e.out executables.
12 lines
184 B
C
12 lines
184 B
C
/* $Id$ */
|
|
#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 ;
|
|
}
|