Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2001 04:47:03 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Gianmarco Giovannelli <gmarco@giovannelli.it>
Cc:        questions@freebsd.org
Subject:   Re: I FreeBSD missing timezone var ?
Message-ID:  <15072.1431.696072.583197@guru.mired.org>
In-Reply-To: <114306623@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Gianmarco Giovannelli <gmarco@giovannelli.it> types:
> A friend is converting a tool from Linux to FreeBSD. Ihe is saying we miss 
> a var. I am not a C expert so I can't answer him.
> 
> "Over the weekend I brought up FreeBSD on an old machine at home, and 
> successfully built a native FreeBSD version of Sphere. It still hasn't been 
> tested a bit (haven't had time), but I don't imagine it will be any 
> different than the linux version. In fact, there is only one place that the 
> code for the FreeBSD and Linux versions differ."
> [...]
> "The only difference is this -- in linux, there's a builtin variable called 
> _timezone. I couldn't find that in FreeBSD, so I created a simple function 
> that would determine the timezone. "
> 
> Do we have something similar to the _timezone var ?

It's not clear what he wants. It might be tzname, but using that's
discouraged.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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




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