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

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


there is some mention in the src files that
sprintf()  and vsprintf()  should use  vsNprintf()

on win32 its _snprintf()  and _vsnprintf()
i presume its the same minus the prefixed _ (underscore)  on *nix systems.

is there any reason why its not done ?

can use  it with out the prefix for the src  and then just
#define sprintf _sprintf
for the win32 version.


aj.



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