mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-13 03:29:50 +00:00
16 lines
208 B
C
16 lines
208 B
C
|
/*
|
||
|
* ctime_r.c
|
||
|
*/
|
||
|
|
||
|
#include <time.h>
|
||
|
|
||
|
char *
|
||
|
_DEFUN (ctime_r, (tim_p, result),
|
||
|
_CONST time_t * tim_p _AND
|
||
|
char * result)
|
||
|
|
||
|
{
|
||
|
struct tm tm;
|
||
|
return asctime_r (localtime_r (tim_p, &tm), result);
|
||
|
}
|