![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|


Go to the source code of this file.
Macros | |
| #define | XCFG_FORMAT_STATIC |
| Define internal parameters as volatile for 8 bit cpu define XCFG_FORMAT_STATIC=static to reduce stack usage. | |
| #define | XCFG_FORMAT_FLOAT 1 |
| Define XCFG_FORMAT_FLOAT=0 to remove floating point support. | |
| #define | XCFG_FORMAT_LONGLONG 1 |
| Define to 1 to support long long type (prefix ll) | |
Functions | |
| unsigned | xvformat (void(*outchar)(void *arg, char), void *arg, const char *fmt, va_list args) |
| Formats and outputs a string according to a format string 'fmt' and a variable argument list 'args'. | |
| unsigned | xformat (void(*outchar)(void *arg, char), void *arg, const char *fmt,...) |
| Formats and outputs a string according to a format string 'fmt' and an arbitrary number of variable arguments. | |
| #define XCFG_FORMAT_FLOAT 1 |
Define XCFG_FORMAT_FLOAT=0 to remove floating point support.
| #define XCFG_FORMAT_LONGLONG 1 |
Define to 1 to support long long type (prefix ll)
| #define XCFG_FORMAT_STATIC |
Define internal parameters as volatile for 8 bit cpu define XCFG_FORMAT_STATIC=static to reduce stack usage.
| unsigned xformat | ( | void(*)(void *arg, char) | outchar, |
| void * | arg, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Formats and outputs a string according to a format string 'fmt' and an arbitrary number of variable arguments.
The output is written character by character using a user-defined output function 'outchar'.
| outchar | The output function that writes a single character. |
| arg | A pointer to optional arguments for the output function. |
| fmt | The format string specifying the output format. |
| ... | The variable arguments containing the values to be formatted and output. |
| unsigned xvformat | ( | void(*)(void *arg, char) | outchar, |
| void * | arg, | ||
| const char * | fmt, | ||
| va_list | args | ||
| ) |
Formats and outputs a string according to a format string 'fmt' and a variable argument list 'args'.
The output is written character by character using a user-defined output function 'outchar'.
| outchar | The output function that writes a single character. |
| arg | A pointer to optional arguments for the output function. |
| fmt | The format string specifying the output format. |
| args | The variable argument list containing the values to be formatted and output. |