Skip to content
Snippets Groups Projects
Commit de2de319 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Tom Rini
Browse files

vsprintf: vsprintf does not have parameter size


The inline documentation of vsprintf mentions a parameter size
which does not exist in the function declaration.

int vsprintf(char *buf, const char *fmt, va_list args);

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 2d0cf3b2
No related branches found
No related tags found
No related merge requests found
...@@ -112,12 +112,10 @@ int sprintf(char *buf, const char *fmt, ...) ...@@ -112,12 +112,10 @@ int sprintf(char *buf, const char *fmt, ...)
* Format a string and place it in a buffer (va_list version) * Format a string and place it in a buffer (va_list version)
* *
* @param buf The buffer to place the result into * @param buf The buffer to place the result into
* @param size The size of the buffer, including the trailing null space
* @param fmt The format string to use * @param fmt The format string to use
* @param args Arguments for the format string * @param args Arguments for the format string
* @return the number of characters which have been written into * @return the number of characters which have been written into
* the @buf not including the trailing '\0'. If @size is == 0 the function * the @buf not including the trailing '\0'.
* returns 0.
* *
* If you're not already dealing with a va_list consider using scnprintf(). * If you're not already dealing with a va_list consider using scnprintf().
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment