From owner-man-jp@jp.freebsd.org  Tue Apr 28 08:33:49 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id IAA22437
	Tue, 28 Apr 1998 08:33:49 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id IAA22432
	for <man-jp@jp.freebsd.org>; Tue, 28 Apr 1998 08:33:46 +0900 (JST)
Received: from localhost (localhost [127.0.0.1])
	by yk.rim.or.jp (8.8.7/8.8.7) with ESMTP id IAA04222
	for <man-jp@jp.freebsd.org>; Tue, 28 Apr 1998 08:33:06 +0900 (JST)
	(envelope-from k-horik@yk.rim.or.jp)
To: man-jp@jp.freebsd.org
X-Mailer: Mew version 1.92 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19980428083306X.k-horik@yk.rim.or.jp>
Date: Tue, 28 Apr 1998 08:33:06 +0900
From: Kazuo Horikawa <k-horik@yk.rim.or.jp>
X-Dispatcher: imput version 971024
Lines: 44
Reply-To: man-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: man-jp 884
Subject: [man-jp 884] tzh_typecnt (tzfile.5)
Errors-To: owner-man-jp@jp.freebsd.org
Sender: owner-man-jp@jp.freebsd.org

 $BKY@n$G$9!#(B

 tzfile.5 $B$K$D$$$F$N3NG'$r$*$M$,$$$7$^$9!#(B

 o tzfile.h $B$H$$$&%U%!%$%k$O(B FreeBSD $B$K$O$J$$$h$&$G$9$,(B
   $B=q<0(B	
	     #include <tzfile.h>
   $B$H$J$C$F$$$^$9!#(Btzh_* $B$H$$$&9=B$$rDj5A$7$F$$$k%X%C%@$bL5$$$h$&$G$9!#(B
   $B=q<0$NItJ,$O:o=|$9$Y$-$G$7$g$&$+!)(B
   % /usr/share/zoneinfo/ $B0J2<$N%U%!%$%k$,$3$N7A<0$J$N$G$7$g$&$+!)(B

 o tzh_typecnt $B$H(B tzh_timecnt $B$N8m?#(B
   $B2<5-$N!V(B1 $B%P%$%H(B unsigned char $B7?$NCM$,(B tzh_timecnt $B8D!W$N$H$3$m(B
   $B$O!V(Btzh_typcnt $B8D!W$H$J$k$Y$-$@$H;W$$$^$9!#(B

     tzh_timecnt     $B%U%!%$%k$K3JG<$5$l$?(B ``$BA+0\;~9o(B'' $B%G!<%?$N?t!#(B
     tzh_typecnt     $B%U%!%$%k$K3JG<$5$l$?(B ``$B%m!<%+%k%?%$%`7?(B'' $B%G!<%?$N?t(B (0
                     $B$G$"$C$F$O$J$j$^$;$s(B)$B!#(B
     [$BN,(B]
     $B>e5-$N%X%C%@$KB3$$$F!"(B4 $B%P%$%H(B long $B7?$NCM$,(B tzh_timecnt $B8D!">:=g$KJB$S$^(B
     $B$9!#CM$O(B ``$BI8=`(B'' $B%P%$%H%*!<%@$G3JG<$5$l$^$9!#$=$l$>$l!"%m!<%+%k%?%$%`7W(B
     $B;;J}K!$,JQ$o$kA+0\;~9o(B ( time(3) $B$GJV$5$l$k7A<0(B) $B$H$7$F;HMQ$5$l$^$9!#B3$$(B
     $B$F!"(B1 $B%P%$%H(B unsigned char $B7?$NCM$,(B tzh_timecnt $B8DB3$-$^$9(B; $B%U%!%$%kCf$N(B
     ``$B%m!<%+%k%?%$%`(B'' $B7?$O!"B?BP(B 1 $B$GF10l%$%s%G%C%/%9$NA+0\;~9o$KBP1~$7$^$9(B
     $B$,!"$3$NCM$O$=$NBP1~$r<($7$^$9!#CM$O!"$3$N%U%!%$%kCf$G8eB3$9$k(B ttinfo
     $B9=B$BN$NG[Ns$KBP$9$k%$%s%G%C%/%9$G$9(B; $B$3$N9=B$BN$NDj5A$r0J2<$K<($7$^$9(B:

  $B0J2<86J8$G$9!#(B
     tzh_timecnt     The number of ``transition times'' for which data is
                     stored in the file.
     tzh_typecnt     The number of ``local time types'' for which data is
                     stored in the file (must not be zero).
     [$BN,(B]
     The above header is followed by tzh_timecnt four-byte values of type
     long, sorted in ascending order.  These values are written in ``stan-
     dard'' byte order.  Each is used as a transition time (as returned by
     time(3))  at which the rules for computing local time change.  Next come
     tzh_timecnt one-byte values of type unsigned char; each one tells which
     of the different types of ``local time'' types described in the file is
     associated with the same-indexed transition time.  These values serve as
     indices into an array of ttinfo structures that appears next in the file;
     these structures are defined as follows:
--
$BKY@nOBM:(B
