summaryrefslogtreecommitdiff
path: root/src/time/gmtime.c
blob: 6320b6377e62310dfde727d165085e162480d7d2 (plain) (blame)
1
2
3
4
5
6
7
8
#include "time_impl.h"
#include <errno.h>

struct tm *gmtime(const time_t *t)
{
	static struct tm tm;
	return __gmtime_r(t, &tm);
}