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

#include "__time.h"

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