Hello, I don't know if you guys noticed, but sometime ago we voted some of the ..._r functions from into the C standard, just to then discover that POSIX has deprecated the whole set of functions and proposes to replace them by `strftime`. One of the arguments to keep them, was that `asctime_r` does not need access to locale and has a fixed format, and so can be implemented with a much smaller footprint. Looking into musl I found that the current implementation is basically doing verbatim what the C standard says, namely uses `snprintf` under the hood to do the formatting. This has obviously the disadvantage that this drags the whole infrastructure that is needed for `snprintf` into the executable. Making some tests, I found that coding `asctime_r` straight forward with byte-copying has it shave off about 10k from the final executable. Would it be interesting for musl to change to such an implementation? Shall I prepare a patch to do so? Jens -- :: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS ::: :: ::::::::::::::: office Strasbourg : +33 368854536 :: :: :::::::::::::::::::::: gsm France : +33 651400183 :: :: ::::::::::::::: gsm international : +49 15737185122 :: :: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::