1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <time.h> extern void __tm_conv(); struct tm * gmtime(timep) time_t * timep; { static struct tm tmb; __tm_conv(&tmb, &timep, 0L); return &tmb; }