From owner-freebsd-questions Thu Apr 19 23:32:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by hub.freebsd.org (Postfix) with ESMTP id 0D91637B422 for ; Thu, 19 Apr 2001 23:32:39 -0700 (PDT) (envelope-from gmarco@giovannelli.it) Received: from usul.masternet.it (modem43.masternet.it [194.184.65.103]) by kirk.giovannelli.it (8.11.2/8.11.2) with ESMTP id f3K6Q9U38614 for ; Fri, 20 Apr 2001 08:26:10 +0200 (CEST) (envelope-from gmarco@giovannelli.it) Message-Id: <5.1.0.14.2.20010420082312.03eeabe8@194.184.65.4> X-Sender: gmarco@194.184.65.4 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 20 Apr 2001 08:27:53 +0200 To: questions@freebsd.org From: Gianmarco Giovannelli Subject: I FreeBSD missing timezone var ? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ? Thanks for attention. Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message