12 lines
148 B
C
12 lines
148 B
C
|
#include <time.h>
|
||
|
|
||
|
extern struct tm *localtime();
|
||
|
extern char *asctime();
|
||
|
|
||
|
char *
|
||
|
ctime(clock)
|
||
|
long *clock;
|
||
|
{
|
||
|
return asctime(localtime(clock));
|
||
|
}
|