diff options
Diffstat (limited to 'libc/time/gmtime.c')
-rw-r--r-- | libc/time/gmtime.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/time/gmtime.c b/libc/time/gmtime.c new file mode 100644 index 0000000..aa0a246 --- /dev/null +++ b/libc/time/gmtime.c @@ -0,0 +1,15 @@ + +#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; +} |