Rev 1234 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1234 | Rev 1623 | ||
|---|---|---|---|
| Line 28... | Line 28... | ||
| 28 | 28 | ||
| 29 | #include <stdarg.h> |
29 | #include <stdarg.h> |
| 30 | #include <stdio.h> |
30 | #include <stdio.h> |
| 31 | #include <io/printf_core.h> |
31 | #include <io/printf_core.h> |
| 32 | 32 | ||
| - | 33 | /** Print formatted to the given buffer. |
|
| - | 34 | * @param str buffer |
|
| - | 35 | * @param fmt format string |
|
| - | 36 | * @param ap argument list |
|
| - | 37 | * \see For more details about format string see printf_core. |
|
| - | 38 | */ |
|
| 33 | int vsprintf(char *str, const char *fmt, va_list ap) |
39 | int vsprintf(char *str, const char *fmt, va_list ap) |
| 34 | { |
40 | { |
| 35 | return vsnprintf(str, (size_t)-1, fmt, ap); |
41 | return vsnprintf(str, (size_t)-1, fmt, ap); |
| 36 | } |
42 | } |
| 37 | 43 | ||