This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The gmtime man page says it assumes the time at clock represents a local time, and that it converts it to UTC. This is not true. clock is the standard time_t representation of seconds elapsed since 00:00:00 on January 1, 1970, UTC, thus it is not a local time and no UTC conversion occurs. 2006-07-19 Brian Ford <Brian.Ford@FlightSafety.com> * libc/time/gmtime.c: Correct man page; clock is not a local time and no conversion occurs. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew...
Attachment:
gmtime_man.patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |