definition of 'timezone'

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Feb 11 13:53:00 GMT 2004


On Feb 10 14:32, King Lung Chiu wrote:
> Is there a standard way to convert cygwin's 'timezone' to the number 
> expected by the Linux code?

Cygwin uses the timezone definition of BSD for a long time.
You get the posix timezone by one of two ways:

- Either use _timezone
- or #define timzonevar before including time.h.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list