diff options
Diffstat (limited to 'lib/libc/gen/timezone.3')
-rw-r--r-- | lib/libc/gen/timezone.3 | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/lib/libc/gen/timezone.3 b/lib/libc/gen/timezone.3 index dd5bbffd2e3..97c719c8cb9 100644 --- a/lib/libc/gen/timezone.3 +++ b/lib/libc/gen/timezone.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: timezone.3,v 1.6 1999/05/20 14:50:35 aaron Exp $ +.\" $OpenBSD: timezone.3,v 1.7 1999/05/29 22:38:35 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -42,23 +42,26 @@ .Ft char * .Fn timezone "int zone" "int dst" .Sh DESCRIPTION -.ft B +.Bf -symbolic This interface is for compatibility only; it is impossible to reliably -map timezone's arguments to a time zone abbreviation. -See -.Xr ctime 3 . -.ft P +map +.Fn timezone Ns 's +arguments to a time zone abbreviation (see +.Xr ctime 3 ) . +.Ef .Pp The .Fn timezone function returns a pointer to a time zone abbreviation for the specified -.Ar zone +.Fa zone and -.Ar dst +.Fa dst values. -.Ar Zone -is the number of minutes west of GMT and -.Ar dst +.Fa zone +is the number of minutes west of +.Tn GMT +and +.Fa dst is non-zero if Daylight Saving Time is in effect. .Sh SEE ALSO .Xr ctime 3 |