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 | * \see For more details about format string see printf_core. |
|
- | 37 | */ |
|
33 | int sprintf(char *str, const char *fmt, ...) |
38 | int sprintf(char *str, const char *fmt, ...) |
34 | { |
39 | { |
35 | int ret; |
40 | int ret; |
36 | va_list args; |
41 | va_list args; |
37 | 42 |