1987-03-31 10:45:53 +00:00
|
|
|
/* $Header$ */
|
1987-07-22 09:12:47 +00:00
|
|
|
#ifdef __BSD4_2
|
1987-07-17 09:38:18 +00:00
|
|
|
#include <sys/time.h>
|
|
|
|
#else
|
1987-01-27 15:57:55 +00:00
|
|
|
#include <time.h>
|
1987-07-17 09:38:18 +00:00
|
|
|
#endif
|
1987-01-27 15:57:55 +00:00
|
|
|
|
|
|
|
extern struct tm *localtime();
|
|
|
|
extern char *asctime();
|
|
|
|
|
|
|
|
char *
|
|
|
|
ctime(clock)
|
|
|
|
long *clock;
|
|
|
|
{
|
|
|
|
return asctime(localtime(clock));
|
|
|
|
}
|