openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libsmartcols/src/table_print.c
static void print_newline_padding(struct libscols_table* tb,
                                  struct libscols_column* cl,
                                  struct libscols_line* ln, /* optional */
                                  size_t bufsz)
{
    size_t i;

    assert(tb);
    assert(cl);

    fputs(linesep(tb), tb->out); /* line break */
    tb->termlines_used++;

    /* fill cells after line break */
    for (i = 0; i <= (size_t)cl->seqnum; i++)
        print_empty_cell(tb, scols_table_get_column(tb, i), ln, bufsz);
}
/* Fill the start of a line with padding (or with tree ascii-art).
 *
 * This is necessary after a long non-truncated column, as this requires the
 * next column to be printed on the next line. For example (see 'DDD'):
 *
 * aaa bbb ccc ddd eee
 * AAA BBB CCCCCCC
 *             DDD EEE
 * ^^^^^^^^^^^^
 *  new line padding
 */
Fill the start of a line with padding (or with tree ascii-art).
This is necessary after a long non-truncated column, as this requires the
next column to be printed on the next line. For example .


Fill the start of a line with padding ( or with tree ascii - art ) . This is necessary after a long non - truncated column as this requires the next column to be printed on the next line . For example .
static void print_newline_padding(struct libscols_table* tb,
                                  struct libscols_column* cl,
                                  struct libscols_line* ln, 
                                  size_t bufsz)
{
    size_t i;
    assert(tb);
    assert(cl);
    fputs(linesep(tb), tb->out); 
    tb->termlines_used++;
    for (i = 0; i <= (size_t)cl->seqnum; i++)
        print_empty_cell(tb, scols_table_get_column(tb, i), ln, bufsz);
}
static void print_newline_padding ( struct libscols_table * tb , struct libscols_column * cl , struct libscols_line * ln , size_t bufsz ) { size_t i ; assert ( tb ) ; assert ( cl ) ; fputs ( linesep ( tb ) , tb -> out ) ; tb -> termlines_used ++ ; for ( i = 0 ; i <= ( size_t ) cl -> seqnum ; i ++ ) print_empty_cell ( tb , scols_table_get_column ( tb , i ) , ln , bufsz ) ; }
Fill the start of a line with padding (or with tree ascii-art).
Fill the start of a line with padding ( or with tree ascii - art ) .
/* optional */ /* line break */ /* fill cells after line break */