2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Convert a time into a string.
8 #include "__stdc_intbase.h"
10 /*****************************************************************************
15 struct tm
* localtime (
21 Splits the system time in seconds into a structure.
23 See localtime_r() for details.
26 tt - A time in seconds from the 1. Jan 1970
29 A statically allocated buffer with the broken up time. Note that
30 the contents of the buffer might get lost with the call of any of
31 the date and time functions.
34 Resulting tm struct is buffered per stdc.library and shared
51 time(), ctime(), asctime(), gmtime()
55 ******************************************************************************/
57 struct StdCIntBase
*StdCBase
= (struct StdCIntBase
*)__aros_getbase_StdCBase();
59 return localtime_r (tt
, &StdCBase
->tmbuffer
);