4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 19:09:58 +08:00

19 lines
367 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
/*
* localtime_r.c
*
* Converts the calendar time pointed to by tim_p into a broken-down time
* expressed as local time. Returns a pointer to a structure containing the
* broken-down time.
*/
#include <time.h>
#include "local.h"
2000-02-17 19:39:52 +00:00
struct tm *
_DEFUN (localtime_r, (tim_p, res),
_CONST time_t * tim_p _AND
struct tm *res)
{
return _mktm_r (tim_p, res, 0);
2000-02-17 19:39:52 +00:00
}