← board

crtl: asctime / ctime / timegm

Five functions were missing outright — asctime, asctime_r, ctime, ctime_r, timegm. ctime(&t) is the shortest way to print a time in C, so this is a gap real code hits immediately; it failed at compile time ("call to undeclared function"), which is the good failure mode, but it failed.

Implementation notes

Gate

gcc_diff_probe cases ctime-asctime-shape and timegm-roundtrip byte-match gcc; clean on native/i386/arm32/aarch64. gate.sh lib green, c-testsuite 219/0/1.