Go to the first, previous, next, last section, table of contents.


tzset

Syntax

#include <time.h>

extern char *tzname[2];
void tzset(void);

Description

This function initializes the global variable tzname according to environment variable TZ. After the call, tzname holds the specifications for the time zone for the standard and daylight-saving times.

Return Value

None.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.