OSDN Git Service

2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
authorjjohnstn <jjohnstn>
Thu, 17 Aug 2006 15:53:15 +0000 (15:53 +0000)
committerjjohnstn <jjohnstn>
Thu, 17 Aug 2006 15:53:15 +0000 (15:53 +0000)
        * libc/time/gmtime.c: Correct man page; clock is not a
        local time and no conversion occurs.

newlib/ChangeLog
newlib/libc/time/gmtime.c

index 09b648e..5ddb8f0 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-17  Brian Ford  <Brian.Ford@FlightSafety.com>
+
+       * libc/time/gmtime.c: Correct man page; clock is not a
+       local time and no conversion occurs.
+
 2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
 
         * configure.host (newlib_cflags) [spu]: Add special compiler
index d8e6875..40116c2 100644 (file)
@@ -29,11 +29,11 @@ TRAD_SYNOPSIS
        struct tm *<[res]>;
 
 DESCRIPTION
-<<gmtime>> assumes the time at <[clock]> represents a local time.
-<<gmtime>> 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 <<struct tm>>.
+<<gmtime>> 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 <<struct tm>>
+representation.
 
 <<gmtime>> constructs the traditional time representation in static
 storage; each call to <<gmtime>> or <<localtime>> will overwrite the