delorie.com/djgpp/doc/libc/libc_832.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX 1003.2-1992; 1003.1-2001


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004