summaryrefslogtreecommitdiff
path: root/src/time/gmtime.c
blob: d4d5d1f1ca19b72ba74b5408e02a99bccd8bd47c (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <time.h>

#include "__time.h"

struct tm *gmtime(const time_t *t)
{
	static struct tm tm;
	__time_to_tm(*t, &tm);
	tm.tm_isdst = 0;
	return &tm;
}