Paul Eggert wrote:
> "c_" is not appropriate because it means the C locale. ctime already
> means the C locale.
Agree.
> Since asctime_r and ctime_r have already been removed from draft next
> POSIX, let's not name anything after them.
Also because these names are not easily memorized. 'strftime' and
fprintftime is halfway reasonable, but 'ctime' and 'asctime' are not.
For the variants with more arguments,
str_from_time
str_from_timespec
str_from_tm
sound good.
For the ones that operate in the C locale and are
meant as replacements for ctime and asctime, either
safer_ctime
safer_asctime
or
c_strnl_from_time
c_strnl_from_tm
would be OK with me. ("strnl" because they return a string that ends
in a newline.)
Bruno