mirror of
https://github.com/apache/nuttx.git
synced 2026-09-14 06:30:31 +00: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:
parent
59846a8fe9
commit
f535e5b6db
1 changed files with 3 additions and 0 deletions
|
|
@ -7382,3 +7382,6 @@
|
|||
* 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
|
||||
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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue