Crate lwprintf_rs

Crate lwprintf_rs 

Source
Expand description

LwPRINTF Rust bindings and wrappers.

Macros§

lwprintf_printf
Print formatted data to the output with default LwPRINTF instance.
lwprintf_snprintf
Write formatted data to sized buffer with default LwPRINTF instance.
lwprintf_sprintf
Write formatted data from variable argument list to sized buffer with default LwPRINTF instance.
lwprintf_sprintf_ex
Write formatted data from variable argument list to sized buffer. This macro uses lwprintf_snprintf_ex internally with n set to SIZE_MAX.
lwprintf_vprintf
Print formatted data from variable argument list to the output with default LwPRINTF instance. This macro uses lwprintf_vprintf_ex internally with lwobj set to NULL.
lwprintf_vsnprintf
Write formatted data from variable argument list to sized buffer with default LwPRINTF instance.

Structs§

LwprintfObj
LwPRINTF object with custom output handler.

Constants§

SIZE_MAX
Maximum size value for buffers.

Traits§

CustomOutPut
Trait for custom output handling.

Functions§

lwprintf_init
Initialize default lwprintf instance.
lwprintf_init_ex
Initialize lwprintf object with custom output function.
lwprintf_printf_ex
Print formatted data to the output.
lwprintf_snprintf_ex
Write formatted data from variable argument list to sized buffer.
lwprintf_vprintf_ex
Print formatted data from variable argument list to the output.
lwprintf_vprintf_ex_rust
Print formatted data from variable argument list to the output.
lwprintf_vsnprintf_ex
Write formatted data from variable argument list to sized buffer.
lwprintf_vsnprintf_ex_rust
Write formatted data from variable argument list to sized buffer.