From 38d421ec001ac48c899b4945819fb5c6d9716947 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 3 May 2017 20:47:46 +0200 Subject: ctime(2): fix example (thanks raiz) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit raiz → the reason that the manpage example works not because it's a correct timezone file format, but because readtimezone() (in libc) fails and defaults to GMT. --- sys/man/2/ctime | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/man/2/ctime b/sys/man/2/ctime index a4e074343..5bb1cefd2 100644 --- a/sys/man/2/ctime +++ b/sys/man/2/ctime @@ -110,7 +110,8 @@ EST -18000 EDT -14400 Greenwich Mean Time is represented by .IP .EX -GMT 0 +GMT 0 GMT 0 +0 .EE .SH SOURCE .B /sys/src/libc/9sys -- cgit v1.2.3