1 /* $File: gmtime_r.c,v 1.2 2015/07/11 14:41:37 christos Exp $ */
5 FILE_RCSID("@(#)$File: gmtime_r.c,v 1.2 2015/07/11 14:41:37 christos Exp $")
10 /* asctime_r is not thread-safe anyway */
12 gmtime_r(const time_t *t
, struct tm
*tm
)
14 struct tm
*tmp
= gmtime(t
);
17 memcpy(tm
, tmp
, sizeof(*tm
));