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 ;
|
|
|
|
}
|