Regarding the optional unit character, in particular, 'K',
it seems people tolearate Km, km, and KM for Kilometer/kilometer.

Usually though km is being used and people use a ligature for
such characters like '?' in many (Asian) cultures.

On the proposed spec which uses 'b' character to indicate radix-2 or
radix-10, *BSD uses a flag value and based on that, the output will be
'k' for radix-10 and 'K' for radix-2 IIRC.

I think this and other differences should be considered and resolved since
having the same C function name with different spec appears not so desireable
unless there is a good reason such as *BSD have adopted what the project
team has proposed with the case. If no such reasons, I rather think using
a different name such as, for instance, strfnum(3C) would be better (and,
at the sametime, make it similar to strfmon(3C)) even though I'm not quite
sure if we have anything in the possible standard tracks for strfnum(3C)
function-like one already. And so for that, I would ask for Don's
comment/input before the use or creation of strfnum().

Ienup


Reply via email to