delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/11/08:53:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 11 Feb 2004 14:53:28 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: definition of 'timezone'
Message-ID: <20040211135328.GR4162@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0402101425080 DOT 5936-100000 AT farrer DOT hpc DOT csiro DOT au>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.44.0402101425080.5936-100000@farrer.hpc.csiro.au>
User-Agent: Mutt/1.4.1i

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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019