Re: [hwloc-devel] documentation/implementation questions with the snprintf routines

2011-01-06 Thread Brice Goglin
Le 06/01/2011 17:13, Guy Streeter a écrit : > The man pages for the various snprintf routines indicate that they > return the number of characters written. My testing indicates that > they always return the number of characters required, which can be > more or less than the space supplied. Indeed,

[hwloc-devel] documentation/implementation questions with the snprintf routines

2011-01-06 Thread Guy Streeter
The man pages for the various snprintf routines indicate that they return the number of characters written. My testing indicates that they always return the number of characters required, which can be more or less than the space supplied. My testing also indicates that if the buffer size is indic