gettzenv() - retrieve system timezone information
#include <interix/interix.h>
char * gettzenv(void)
The gettzenv(2) call returns a string describing time zone information in the POSIX format. The call returns a pointer to a static buffer containing the system time zone, in the form TZ=value. (The exact format is described in the man page for tzset(3).)
If the call cannot retrieve time zone information from the system, the call returns NULL.
The gettzenv(2) function returns a pointer to a static buffer. On success, this buffer contains the environment variable. On failure, the call returns NULL.
tzset(3)