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.
This commit is contained in:
Jeff Johnston 2006-08-17 15:53:15 +00:00
parent 30691bd756
commit 84a7940382
2 changed files with 10 additions and 5 deletions

View 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> 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* configure.host (newlib_cflags) [spu]: Add special compiler * configure.host (newlib_cflags) [spu]: Add special compiler

View File

@ -29,11 +29,11 @@ TRAD_SYNOPSIS
struct tm *<[res]>; struct tm *<[res]>;
DESCRIPTION DESCRIPTION
<<gmtime>> assumes the time at <[clock]> represents a local time. <<gmtime>> takes the time at <[clock]> representing the number
<<gmtime>> converts it to UTC (Universal Coordinated Time, also known in some of elapsed seconds since 00:00:00 on January 1, 1970, Universal
countries as GMT, Greenwich Mean time), then converts the Coordinated Time (UTC, also known in some countries as GMT,
representation from the arithmetic representation to Greenwich Mean time) and converts it to a <<struct tm>>
the traditional representation defined by <<struct tm>>. representation.
<<gmtime>> constructs the traditional time representation in static <<gmtime>> constructs the traditional time representation in static
storage; each call to <<gmtime>> or <<localtime>> will overwrite the storage; each call to <<gmtime>> or <<localtime>> will overwrite the