13 lines
159 B
C
13 lines
159 B
C
/* $Id$ */
|
|
#include <time.h>
|
|
|
|
extern struct tm *localtime();
|
|
extern char *asctime();
|
|
|
|
char *
|
|
ctime(clock)
|
|
long *clock;
|
|
{
|
|
return asctime(localtime(clock));
|
|
}
|