This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
vsnprintf
- From: Bob Koninckx <bob dot koninckx at mech dot kuleuven dot ac dot be>
- To: ecos-discuss at sources dot redhat dot com
- Date: 19 Jan 2003 20:08:33 +0100
- Subject: [ECOS] vsnprintf
- Organization: KULeuven
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