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

#include "__time.h"

struct tm *gmtime_r(const time_t *t, struct tm *result)
{
	__time_to_tm(*t, result);
	result->tm_isdst = 0;
	return result;
}