mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 20:02:35 +03:00
7315bb05c0
git-svn-id: svn://kolibrios.org@4921 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
406 B
C
19 lines
406 B
C
/*
|
|
* 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"
|
|
|
|
struct tm *
|
|
_DEFUN (localtime_r, (tim_p, res),
|
|
_CONST time_t *__restrict tim_p _AND
|
|
struct tm *__restrict res)
|
|
{
|
|
return _mktm_r (tim_p, res, 0);
|
|
}
|