blob: 7afa021c597530080069d3ab778db41c9c715098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* gmtime_r.c
*/
#include <time.h>
#define _GMT_OFFSET 0
struct tm *
_DEFUN (gmtime_r, (tim_p, res),
_CONST time_t * tim_p _AND
struct tm *res)
{
time_t tim = *tim_p + _GMT_OFFSET;
return (localtime_r (&tim, res));
}
|