tzset [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
tzset
Sets time zone conversion information.
Syntax
#include <time.h> /* proto */
void tzset (void);
Parameters
None.
Return Values
None.
Description
The tzset function uses the value of the user-defined environment
variable TZ to set time conversion information used by localtime(),
ctime(), strftime(), and mktime().
The tzset() function sets the external variable tzname:
extern char *tzname[2] = {"std", "dst"};
where std and dst are described in the HP C/iX Library Reference Manual.
If no TZ environment variable exists, Eastern Standard Time (EST) and
Eastern Daylight Time (EDT) for the United States are used (EST5EDT is
assumed for TZ).
See Also
localtime(), ctime(), strftime(), mktime(), POSIX.1 8.3.2
MPE/iX 5.0 Documentation