From 84a7940382b1c6ced4a3898145153e5a7dd541df Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 17 Aug 2006 15:53:15 +0000 Subject: 2006-08-17 Brian Ford * libc/time/gmtime.c: Correct man page; clock is not a local time and no conversion occurs. --- newlib/libc/time/gmtime.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'newlib/libc/time') diff --git a/newlib/libc/time/gmtime.c b/newlib/libc/time/gmtime.c index d8e687559..40116c285 100644 --- a/newlib/libc/time/gmtime.c +++ b/newlib/libc/time/gmtime.c @@ -29,11 +29,11 @@ TRAD_SYNOPSIS struct tm *<[res]>; DESCRIPTION -<> assumes the time at <[clock]> represents a local time. -<> converts it to UTC (Universal Coordinated Time, also known in some -countries as GMT, Greenwich Mean time), then converts the -representation from the arithmetic representation to -the traditional representation defined by <>. +<> takes the time at <[clock]> representing the number +of elapsed seconds since 00:00:00 on January 1, 1970, Universal +Coordinated Time (UTC, also known in some countries as GMT, +Greenwich Mean time) and converts it to a <> +representation. <> constructs the traditional time representation in static storage; each call to <> or <> will overwrite the -- cgit v1.2.3