c/chrono/asctime

@1@ Converts given calendar time tm to a textual representation of the following fixed 25-character form: @@ The behavior is undefined if any member of is outside its normal range @@ The behavior is undefined if the calendar year indicated by has more than 4 digits or is less than the year 1000. @@ The function does not support localization, and the newline character cannot be removed. @@ The function modifies static storage and is not thread-safe.
 * - three-letter English abbreviated day of the week from, one of , , , , , ,.
 * - three-letter English abbreviated month name from, one of , , , , , , , , , , ,.
 * - 2-digit day of the month from as if printed by sprintf using
 * - 2-digit hour from as if printed by sprintf using
 * - 2-digit minute from as if printed by sprintf using
 * - 2-digit second from as if printed by sprintf using
 * - 4-digit year from as if printed by sprintf using

@2@ Same as, except that the message is written into user-provided storage , which is guaranteed to be null-terminated, and the following errors are detected at runtime and call the currently installed constraint handler function:
 * or is a null pointer
 * is less than 26 or greater than rsize_max
 * not all members of are within their normal ranges
 * the year indicated by is less than 0 or greater than 9999

Return value
@1@ pointer to a static null-terminated character string holding the textual representation of date and time as described above. The string may be shared between and ctime, and may be overwritten on each invocation of any of those functions. @2@ zero on success, non-zero on failure, in which case is set to zero (unless  is a null pointer or  is zero or greater than rsize_max).