Re: [AD] usnprintf()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> As I'm sure everyone will see as soon as they try to look it up, Allegro
> doesn't have a usnprintf() as a counter part to libc's snprintf() (C99).
> Or rather, it does, but with the name uszprintf(). This is somewhat
> annoying and confusing. Would there be objectjons to adding usnprintf() as
> an alias for uszprintf()?

uszprintf was named that way (instead of usnprintf) because its second 
argument is the size in bytes, while the second argument of usnprintf is a 
number of characters.  Of course not the same thing for e.g. UTF-8.

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/