On my FreeBSD 3.3R system, /usr/include/time.h includes a prototype for the
timezone() function. The timezone(3) manual page indicates that this
function is for compatibility purposes only and notes that the timezone()
function first appeared in AT&T Unix V7.

Version 2 of the Single Unix Specification (www.opengroup.org) states that
time.h defines a global variable named timezone which indicates the
difference in seconds between the local timezone and UTC. It also notes that
this is, "Derived from Issue 1 of the SVID." I don't know what that means.

I realize that I can work around this in an application a number of ways.
For example, use FreeBSD's tm_gmtoff member of struct tm.

However, is it a long-term goal for FreeBSD to conform to the Single Unix
Specification?

Charles



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to