2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Convert a time into a string.
8 #include "__stdc_intbase.h"
10 /*****************************************************************************
21 The asctime() function converts the broken-down time value tm
24 See asctime_r() for details.
27 tm - The broken down time
30 A statically allocated buffer with the converted time. Note that
31 the contents of the buffer might get lost with the call of any of the
32 date and time functions.
35 The returned string is buffered per stdc.library base.
54 time(), ctime(), gmtime(), localtime()
58 ******************************************************************************/
60 struct StdCIntBase
*StdCBase
= (struct StdCIntBase
*)__aros_getbase_StdCBase();
62 strftime (StdCBase
->timebuffer
, 26, "%C\n", tm
);
64 return StdCBase
->timebuffer
;