2 Reentrant time zone functions: localtime_rz, mktime_z, etc.
5 This implements the NetBSD-inspired extensions to <time.h>, which
6 defines a type timezone_t and associated allocation functions tzalloc
7 and tzfree, along with two functions localtime_rz and mktime_z that
8 are like localtime_r and mktime except they have a new leading
9 timezone_t argument. Time zone abbreviation strings have lifetimes
10 equal to the corresponding struct tm or timezone_t object (whichever
11 is less). tzalloc (X) yields a time zone object equivalent to setting
12 the TZ environment variable to X. tzalloc (NULL) is the same as an
13 unset TZ environment variable. (timezone_t) 0 stands for UTC.
22 flexmember [test "$HAVE_TIMEZONE_T" = 0]
23 setenv [test "$HAVE_TIMEZONE_T" = 0]
24 stdbool [test "$HAVE_TIMEZONE_T" = 0]
25 time_r [test "$HAVE_TIMEZONE_T" = 0]
26 timegm [test "$HAVE_TIMEZONE_T" = 0]
27 unsetenv [test "$HAVE_TIMEZONE_T" = 0]
31 if test "$HAVE_TIMEZONE_T" = 0; then
34 gl_TIME_MODULE_INDICATOR([time_rz])