Fwd: Cell_log > gsmmap

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Pierre Pronchery khorben at defora.org
Wed Jan 26 16:55:05 UTC 2011


On 01/25/2011 16:34, Holger Hans Peter Freyther wrote:
> 
> 2.) snprintf will not add a '\0' of optarg is of the length of 32 or longer

Actually it does, even though it may truncate the resulting string in
the process:

   « snprintf() and vsnprintf() will write at most size-1 of the
     characters printed into the output string (the size'th character
     then gets the terminating `\0') »

HTH,
-- 
khorben




More information about the baseband-devel mailing list