From owner-freebsd-questions Wed Feb 28 07:54:55 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA17229 for questions-outgoing; Wed, 28 Feb 1996 07:54:55 -0800 (PST) Received: from tomcat1.tbe.com (tomcat1.tbe.com [140.165.31.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA17214 for ; Wed, 28 Feb 1996 07:54:48 -0800 (PST) Received: from [140.165.210.81] by tomcat1.tbe.com via SMTP (940816.SGI.8.6.9/940406.SGI.AUTO) for id JAA03920; Wed, 28 Feb 1996 09:54:45 -0600 X-Sender: dkelly@tomcat1.tbe.com Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 28 Feb 1996 09:54:46 -0600 To: questions@freebsd.org From: dkelly@PeeCee.tbe.com (David Kelly) Subject: tzname[] and Sender: owner-questions@freebsd.org Precedence: bulk In porting code I recently ran into trouble with tzname not being defined in any include file. Checking the ctime(3) man page we see: SYNOPSIS #include #include extern char *tzname[2]; which suggests the global tzname[] is already defined or prototyped for us if we include those two headers. I wouldn't be writing if it was. System is 2.1-STABLE with the 43rd -stable CTM patch set applied. Should "extern char *tzname[2];" be in /usr/include/time.h as with other systems or is there some good reason that it is missing? -- David Kelly N4HHE, dkelly@tomcat1.tbe.com (wk), dkelly@hiwaay.net (hm) ====================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.