Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 1999 14:18:51 -0600
From:      Chris Costello <chris@holly.dyndns.org>
To:        Marc Olzheim <marcolz@stack.nl>
Cc:        stable@FreeBSD.ORG
Subject:   Re: tzset in libc
Message-ID:  <19990303141850.B13061@holly.dyndns.org>
In-Reply-To: <19990303170256.A15288@stack.nl>; from Marc Olzheim on Wed, Mar 03, 1999 at 05:02:56PM %2B0100
References:  <19990303170256.A15288@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 3, 1999, Marc Olzheim put this into my mailbox:
> 
> Hi,
> 
> I was wondering why it was that each time you call localtime() or strftime(),
> tzset() is called also. Isn't it so that it only has to be called once
> per process and then be regearded as already set ?

   No.  If you reset your time zone while a program is
running, what then?

-Chris

-- 
Powered by FreeBSD 4.0-CURRENT.                       "The Power to Serve!"

int main(int m){main(!main(0));}


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990303141850.B13061>