mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 03:42:35 +03:00
2336060a0c
git-svn-id: svn://kolibrios.org@1906 a494cfbc-eb01-0410-851d-a64ba20cac60
16 lines
223 B
C
16 lines
223 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);
|
|
}
|