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.c
int scols_table_enable_nolinesep(struct libscols_table* tb, int enable)
{
    if (!tb)
        return -EINVAL;

    DBG(TAB, ul_debugobj(tb, "nolinesep: %s", enable ? "ENABLE" : "DISABLE"));
    tb->no_linesep = enable ? 1 : 0;
    return 0;
}
/**
 * scols_table_enable_nolinesep:
 * @tb: table
 * @enable: 1 or 0
 *
 * Enable/disable line separator printing. This is useful if you want to
 * re-printing the same line more than once (e.g. progress bar). Don't use it
 * if you're not sure.
 *
 * Note that for the last line in the table the separator is disabled at all.
 * The library differentiate between table terminator and line terminator
 * (although for standard output \n byte is used in both cases).
 *
 * Returns: 0 on success, negative number in case of an error.
 */
@tb: table
@enable: 1 or 0

Enable/disable line separator printing. This is useful if you want to
re-printing the same line more than once . Don't use it
if you're not sure.

Note that for the last line in the table the separator is disabled at all.
The library differentiate between table terminator and line terminator
(although for standard output \n byte is used in both cases).

0 on success, negative number in case of an error.
@tb : table @enable : 1 or 0 Enable / disable line separator printing . This is useful if you want to re - printing the same line more than once . Don ' t use it if you ' re not sure . Note that for the last line in the table the separator is disabled at all . The library differentiate between table terminator and line terminator ( although for standard output \ n byte is used in both cases ) . 0 on success negative number in case of an error .
int scols_table_enable_nolinesep(struct libscols_table* tb, int enable)
{
    if (!tb)
        return -EINVAL;
    DBG(TAB, ul_debugobj(tb, "nolinesep: %s", enable ? "ENABLE" : "DISABLE"));
    tb->no_linesep = enable ? 1 : 0;
    return 0;
}
int scols_table_enable_nolinesep ( struct libscols_table * tb , int enable ) { if ( ! tb ) return - EINVAL ; DBG ( TAB , ul_debugobj ( tb , " " , enable ? " " : " " ) ) ; tb -> no_linesep = enable ? 1 : 0 ; return 0 ; }
scols_table_enable_nolinesep:
 @tb: table
 @enable: 1 or 0
scols_table_enable_nolinesep : @tb : table @enable : 1 or 0