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

#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;
}