Back to index

nagios-plugins  1.4.16
Defines | Functions
timegm.c File Reference
#include <config.h>
#include <time.h>
#include "mktime-internal.h"

Go to the source code of this file.


#define __gmtime_r   gmtime_r
#define __mktime_internal   mktime_internal


time_t timegm (struct tm *tmp)

Define Documentation

#define __gmtime_r   gmtime_r

Definition at line 28 of file timegm.c.

Definition at line 29 of file timegm.c.

Function Documentation

time_t timegm ( struct tm *  tmp)

Definition at line 34 of file timegm.c.

  static time_t gmtime_offset;
  tmp->tm_isdst = 0;
  return __mktime_internal (tmp, __gmtime_r, &gmtime_offset);