On Sun, Jul 29, 2007 at 11:06:57PM +0100, Pádraig Brady wrote: > snprintf does always NUL terminate. > Have a look at the second point here: > http://www.pixelbeat.org/programming/c_c++_notes.html Neat. There was a time when it didn't, iirc. lamont - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html