1*49874Sbostic.\" Copyright (c) 1991 The Regents of the University of California. 2*49874Sbostic.\" All rights reserved. 3*49874Sbostic.\" 4*49874Sbostic.\" %sccs.include.redist.roff% 5*49874Sbostic.\" 6*49874Sbostic.\" @(#)timezone.3 5.1 (Berkeley) 05/24/91 7*49874Sbostic.\" 8*49874Sbostic.Dd "" 9*49874Sbostic.Dt TIMEZONE 3 10*49874Sbostic.Os 11*49874Sbostic.Sh NAME 12*49874Sbostic.Nm timezone 13*49874Sbostic.Nd return the timezone abbreviation 14*49874Sbostic.Sh SYNOPSIS 15*49874Sbostic.Ft char * 16*49874Sbostic.Fn timezone "int zone" "int dst" 17*49874Sbostic.Sh DESCRIPTION 18*49874Sbostic.ft B 19*49874SbosticThis interface is for compatibility only; it is impossible to reliably 20*49874Sbosticmap timezone's arguments to a time zone abbreviation. 21*49874SbosticSee ctime(3). 22*49874Sbostic.ft P 23*49874Sbostic.Pp 24*49874SbosticThe 25*49874Sbostic.Fn timezone 26*49874Sbosticfunction returns a pointer to a time zone abbreviation for the specifed 27*49874Sbostic.Ar zone 28*49874Sbosticand 29*49874Sbostic.Ar dst 30*49874Sbosticvalues. 31*49874Sbostic.Ar Zone 32*49874Sbosticis the number of minutes west of GMT and 33*49874Sbostic.Ar dst 34*49874Sbosticis non-zero if daylight savings time is in effect. 35*49874Sbostic.Sh SEE ALSO 36*49874Sbostic.Xr ctime 3 37*49874Sbostic.Sh HISTORY 38*49874SbosticA 39*49874Sbostic.Fn timezone 40*49874Sbosticfunction appeared in 41*49874Sbostic.At v7 . 42