|
Embedded Artistry Framework
Embedded Systems C++ Framework
|


Macros | |
| #define | printf printf_ |
| Tiny printf implementation You have to implement putchar if you use printf() To avoid conflicts with the regular printf() API it is overridden by macro defines and internal underscore-appended functions like printf() are used. More... | |
| #define | sprintf sprintf_ |
| Tiny sprintf implementation Due to security reasons (buffer overflow) YOU SHOULD CONSIDER USING (V)SNPRINTF INSTEAD! More... | |
| #define | snprintf snprintf_ |
| Tiny snprintf/vsnprintf implementation. More... | |
| #define | vsnprintf vsnprintf_ |
| #define | vprintf vprintf_ |
| Tiny vprintf implementation. More... | |
| #define | _PRINTF_H_ |
| #define | printf printf_ |
| #define | sprintf sprintf_ |
| #define | snprintf snprintf_ |
| #define | vsnprintf vsnprintf_ |
| #define | vprintf vprintf_ |
Functions | |
| void | _putchar (char character) |
| Output a character to a custom device like UART, used by the printf() function This function is declared here only. More... | |
| int | printf_ (const char *format,...) |
| int | sprintf_ (char *buffer, const char *format,...) |
| int | snprintf_ (char *buffer, size_t count, const char *format,...) |
| int | vsnprintf_ (char *buffer, size_t count, const char *format, va_list va) |
| int | vprintf_ (const char *format, va_list va) |
| int | fctprintf (void(*out)(char character, void *arg), void *arg, const char *format,...) |
| printf with output function You may use this as dynamic alternative to printf() with its fixed _putchar() output More... | |
| #define _PRINTF_H_ |
| #define printf printf_ |
Tiny printf implementation You have to implement putchar if you use printf() To avoid conflicts with the regular printf() API it is overridden by macro defines and internal underscore-appended functions like printf() are used.
| format | A string that specifies the format of the output |
| #define printf printf_ |
| #define snprintf snprintf_ |
| #define snprintf snprintf_ |
Tiny snprintf/vsnprintf implementation.
| buffer | A pointer to the buffer where to store the formatted string |
| count | The maximum number of characters to store in the buffer, including a terminating null character |
| format | A string that specifies the format of the output |
| va | A value identifying a variable arguments list |
| #define sprintf sprintf_ |
| #define sprintf sprintf_ |
Tiny sprintf implementation Due to security reasons (buffer overflow) YOU SHOULD CONSIDER USING (V)SNPRINTF INSTEAD!
| buffer | A pointer to the buffer where to store the formatted string. MUST be big enough to store the output! |
| format | A string that specifies the format of the output |
| #define vprintf vprintf_ |
Tiny vprintf implementation.
| format | A string that specifies the format of the output |
| va | A value identifying a variable arguments list |
| #define vprintf vprintf_ |
| #define vsnprintf vsnprintf_ |
| #define vsnprintf vsnprintf_ |
| void _putchar | ( | char | character | ) |
Output a character to a custom device like UART, used by the printf() function This function is declared here only.
You have to write your custom implementation somewhere
| character | Character to output |
| int fctprintf | ( | void(*)(char character, void *arg) | out, |
| void * | arg, | ||
| const char * | format, | ||
| ... | |||
| ) |
printf with output function You may use this as dynamic alternative to printf() with its fixed _putchar() output
| out | An output function which takes one character and an argument pointer |
| arg | An argument pointer for user data passed to output function |
| format | A string that specifies the format of the output |
References _out_fct(), _vsnprintf(), va_end, and va_start.
Referenced by embvm::LoggerBase< TLock >::log().

| int printf_ | ( | const char * | format, |
| ... | |||
| ) |
References _out_char(), _vsnprintf(), va_end, and va_start.
| int snprintf_ | ( | char * | buffer, |
| size_t | count, | ||
| const char * | format, | ||
| ... | |||
| ) |
References _out_buffer(), _vsnprintf(), va_end, and va_start.
| int sprintf_ | ( | char * | buffer, |
| const char * | format, | ||
| ... | |||
| ) |
References _out_buffer(), _vsnprintf(), va_end, and va_start.
| int vprintf_ | ( | const char * | format, |
| va_list | va | ||
| ) |
References _out_char(), and _vsnprintf().
References _out_buffer(), and _vsnprintf().
1.8.15