PatchworkOS
Loading...
Searching...
No Matches
localtime.c
Go to the documentation of this file.
1#include <time.h>
2
3#include "common/time_utils.h"
4
5struct tm* localtime(const time_t* timer)
6{
7 static struct tm tm;
8 return localtime_r(timer, &tm);
9}
struct tm * localtime(const time_t *timer)
Definition localtime.c:5
Definition time.h:21
_PUBLIC struct tm * localtime_r(const time_t *timer, struct tm *buf)
Definition localtime_r.c:6
long long unsigned time_t
Definition time_t.h:4