c/chrono/ctime

@1@ Converts given time since epoch to a calendar local time and then to a textual representation, as if by calling. @2@ Same as, except that the function is equivalent to , and the following errors are detected at runtime and call the currently installed constraint handler function:
 * or is a null pointer
 * is less than or greater than rsize_max

The resulting string has the following format:


 * - the day of the week (one of, , , , , , ).
 * - the month (one of, , , , , , , , , , , ).
 * - the day of the month
 * - hours
 * - minutes
 * - seconds
 * - years

The function does not support localization.

Return value
@1@ pointer to a static null-terminated character string holding the textual representation of date and time. The string may be shared between asctime and, and may be overwritten on each invocation of any of those functions. @2@ zero on success (in which case the string representation of time has been written out to the array pointed to by ), or non-zero on failure (in which case, the terminating null character is always written to unless  is a null pointer or  is zero or greater than rsize_max.