Back to index

glibc  2.9
Defines | Functions
timegm.c File Reference
#include "timegm.h"
#include <time_r.h>

Go to the source code of this file.

Defines

#define __gmtime_r   gmtime_r

Functions

time_t __mktime_internal (struct tm *, struct tm *(*)(time_t const *, struct tm *), time_t *)
time_t timegm (struct tm *tmp)

Define Documentation

#define __gmtime_r   gmtime_r

Definition at line 36 of file timegm.c.


Function Documentation

time_t __mktime_internal ( struct tm ,
struct tm *)(time_t const *, struct tm *,
time_t  
)
time_t timegm ( struct tm tmp)

Definition at line 43 of file timegm.c.

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