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