Table print

Table print — output functions

Functions

Description

Table output API.

Functions

scols_print_table ()

int
scols_print_table (struct libscols_table *tb);

Prints the table to the output stream.

Parameters

tb

table

 

Returns

0, a negative value in case of an error.


scols_print_table_to_string ()

int
scols_print_table_to_string (struct libscols_table *tb,
                             char **data);

Prints the table to data .

Parameters

tb

table

 

data

pointer to the beginning of a memory area to print to

 

Returns

0, a negative value in case of an error.

Types and Values