2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Convert a time into UTC.
8 #include "__stdc_intbase.h"
10 /*****************************************************************************
21 The gmtime() function converts the calendar time tt to
22 broken-down time representation, expressed in Coordinated Universal
25 See gmtime_r() for details.
28 tt - The time to convert
31 A statically allocated buffer with the broken down time in Coordinated
32 Universal Time (UTC). Note that the contents of the buffer might get
33 lost with the call of any of the date and time functions.
36 Resulting tm struct is buffered per stdc.library and shared
52 time(), ctime(), asctime(), localtime()
56 ******************************************************************************/
58 struct StdCIntBase
*StdCBase
= (struct StdCIntBase
*)__aros_getbase_StdCBase();
59 extern struct tm
* gmtime_r (const time_t * tt
, struct tm
* tm
);
61 return gmtime_r(tt
, &StdCBase
->tmbuffer
);