summaryrefslogtreecommitdiff
path: root/libc/misc/time/gmtime.c
blob: 03cc9d56c61537db6f5eabc6cf1b28e62a388d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#include <time.h>

extern void __tm_conv();

struct tm *gmtime(timep)
__const time_t *timep;
{
	static struct tm tmb;

	__tm_conv(&tmb, timep, 0L);

	return &tmb;
}