mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
965566d2e8
"The number of characters written if successful or negative value if an error occurred. If the resulting string gets truncated due to buf_size limit, function returns the total number of characters (not including the terminating null-byte) which would have been written, if the limit was not imposed." --- https://en.cppreference.com/w/c/io/vfprintf Signed-off-by: jihandong <jihandong@xiaomi.com>