Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-08-17 19:53:15 +0400
committerJeff Johnston <jjohnstn@redhat.com>2006-08-17 19:53:15 +0400
commit84a7940382b1c6ced4a3898145153e5a7dd541df (patch)
tree4340b383e6352bb9f31e0f16b4cb8c90ba4a85bc /newlib/libc/time
parent30691bd7563ec3472e9f7d5277622361ecfc244e (diff)
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.
Diffstat (limited to 'newlib/libc/time')
-rw-r--r--newlib/libc/time/gmtime.c10
1 files changed, 5 insertions, 5 deletions
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
-<<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