math: raise invalid flag in ilogb*.c on +-0, +-inf and nan
[musl] / src / time / gmtime.c
1 #include <time.h>
2
3 #include "__time.h"
4
5 struct tm *gmtime(const time_t *t)
6 {
7         static struct tm tm;
8         __time_to_tm(*t, &tm);
9         tm.tm_isdst = 0;
10         return &tm;
11 }