Re: g_snprintf() implementation




> I think the vsnprintf() version should be changed to null-terminate and
> never return -1.

Please make sure this is well documented (ie, contribute to the glib
documentation) and point out specifically that this is different from
vsnprintf().  Seasoned developers might assume the standard snprintf
behaviour. 

Miguel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]