ack/lang/cem/libcc.ansi/core/time/ctime.c

12 lines
160 B
C
Raw Permalink Normal View History

1989-06-12 15:22:14 +00:00
/*
* ctime - convers the calendar time to a string
*/
1994-06-24 14:02:31 +00:00
/* $Id$ */
1989-06-12 15:22:14 +00:00
2018-06-21 20:33:47 +00:00
#include <time.h>
1989-06-12 15:22:14 +00:00
2018-06-21 20:33:47 +00:00
char*(ctime)(const time_t* timer)
1989-06-12 15:22:14 +00:00
{
return asctime(localtime(timer));
}