Re: [AD] (v)sprintf vs (v)sNprintf

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


> We already have usnprintf, no? Can't we just make snprintf() set the
> mode to ASCII and then call usnprintf()?

I think that doing so is dangerous, because we could change the encoding 
format while the user is using the string functions. Moreover set_uformat() is 
supposed to be called only once before allegro_init().

-- 
Eric Botcazou



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