mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen
This commit is contained in:
@@ -7382,3 +7382,6 @@
|
|||||||
* arch/arm/src/stm32/stm32_rtcc.c: Add retry logic to RTC initialization.
|
* arch/arm/src/stm32/stm32_rtcc.c: Add retry logic to RTC initialization.
|
||||||
It sometimes takes longer for the RTC to initialize, at least as noted
|
It sometimes takes longer for the RTC to initialize, at least as noted
|
||||||
on an F2 part. From dlsitzer (2014-5-27).
|
on an F2 part. From dlsitzer (2014-5-27).
|
||||||
|
* libc/stdio/lib_snprintf.c: If the size passed to snprintf() is zero,
|
||||||
|
then snprintf() must write nothing, but instead return the size of the
|
||||||
|
buffer needed to hold the entire string. From Sami Pelkonen (2014-5-30).
|
||||||
|
|||||||
Reference in New Issue
Block a user