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

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?

Then you call tzset() :-)

We used to run a libc like that here and I kind of got used to it.

Marc


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?19990303215827.A2249>