[ECOS] vsnprintf

Bob Koninckx bob.koninckx@mech.kuleuven.ac.be
Sun Jan 19 20:37:00 GMT 2003


Seems like vsnprintf _always_ returns the number of bytes actually
written, also if the provided buffer was too small, in which case the
number of bytes that would have been written if a large enough buffer
would have been available should be returned.

Anyone else seen this ? Did I miss something ?

Bob


-- 
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering,                   tel.  +32 16 322535
Machine Design and Automation                      fax.  +32 16 322987
Celestijnenlaan 300B                  bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium               http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list