2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 Convert a time into a string.
8 /*****************************************************************************
19 The asctime() function converts the broken-down time value tm
20 into a string with this format:
22 "Wed Jun 30 21:49:08 1993\n"
24 The return value points to a statically allocated string which
25 might be overwritten by subsequent calls to any of the date and
29 tm - The broken down time
32 A statically allocated buffer with the converted time. Note that
33 there is a newline at the end of the buffer and that the contents
34 of the buffer might get lost with the call of any of the date
56 time(), ctime(), localtime()
60 ******************************************************************************/
62 static char buffer
[26];
64 strftime (buffer
, sizeof (buffer
), "%C\n", tm
);