tm.h File Reference

#include <time.h>
#include <isc/lang.h>
#include <isc/types.h>

Go to the source code of this file.

Defines

#define ISC_TM_H   1

Functions

ISC_LANG_BEGINDECLS time_t isc_tm_timegm (struct tm *tm)
char * isc_tm_strptime (const char *buf, const char *fmt, struct tm *tm)


Detailed Description

Provides portable conversion routines for struct tm.

Definition in file tm.h.


Define Documentation

#define ISC_TM_H   1

Definition at line 18 of file tm.h.


Function Documentation

ISC_LANG_BEGINDECLS time_t isc_tm_timegm ( struct tm *  tm  ) 

Definition at line 119 of file tm.c.

Referenced by isc_time_parsehttptimestamp().

char* isc_tm_strptime ( const char *  buf,
const char *  fmt,
struct tm *  tm 
)

Definition at line 144 of file tm.c.

References abday, abmon, ALT_E, ALT_O, am_pm, conv_num(), day, DE_CONST, isc_tm_strptime(), LEGAL_ALT, mon, REQUIRE, and TM_YEAR_BASE.

Referenced by isc_time_parsehttptimestamp(), and isc_tm_strptime().


Generated on Tue Apr 28 17:41:16 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha