gettzenv()

NAME

gettzenv() - retrieve system timezone information

SYNOPSIS

#include <interix/interix.h>

char * gettzenv(void)

DESCRIPTION

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.

RETURN VALUE

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.

SEE ALSO

tzset(3)

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.