Loading...
Searching...
No Matches
Table extension of the string formatting API (fmt_table)

Provides utilities to print tables. More...

Detailed Description

Provides utilities to print tables.

Note
The print functions in this library do not buffer any output. Mixing calls to standard printf from stdio.h with the print_xxx functions in fmt, especially on the same output line, may cause garbled output.

Files

file  fmt_table.h
 Table extension of the string formatting API.
 

Functions

void print_col_u32_dec (uint32_t number, size_t width)
 Print a table column with the given number as decimal.
 
void print_col_s32_dec (int32_t number, size_t width)
 Print a table column with the given number as decimal.
 

Function Documentation

◆ print_col_s32_dec()

void print_col_s32_dec ( int32_t  number,
size_t  width 
)

Print a table column with the given number as decimal.

Parameters
numberNumber to print in the column
widthWidth of the column

◆ print_col_u32_dec()

void print_col_u32_dec ( uint32_t  number,
size_t  width 
)

Print a table column with the given number as decimal.

Parameters
numberNumber to print in the column
widthWidth of the column