You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(returns) The number of characters that are WRITTEN into the buffer, not counting the terminating null character. If the formatted string is truncated the buffer size (count) is returned
Anyway, if the output was truncated due to this limit, the return value is the number of characters that could have been written. Notice that a value equal or larger than count indicates a truncation.
I made a quick update so I'll place a PR (I didn't find the -1 being returned from anywhere in case of errors, so I didn't mention it explicitly).
The text was updated successfully, but these errors were encountered:
vgrudenic
added a commit
to vgrudenic/printf
that referenced
this issue
Apr 5, 2019
Hi, just a tiny remark: the comment for
snprintf
/vsnprintf
seems to be incorrect:The description in the readme file is ok:
I made a quick update so I'll place a PR (I didn't find the
-1
being returned from anywhere in case of errors, so I didn't mention it explicitly).The text was updated successfully, but these errors were encountered: