diff options
author | Karel Zak | 2017-10-12 11:33:49 +0200 |
---|---|---|
committer | Karel Zak | 2017-10-12 11:33:49 +0200 |
commit | 1e46776263b49bce3a5565f5e0c5f417e0245d14 (patch) | |
tree | de048e7f14b57db61945bac7fd8de47395b3b4b5 /libsmartcols | |
parent | lslogins: fix possible memory leak [coverity scan] (diff) | |
download | kernel-qcow2-util-linux-1e46776263b49bce3a5565f5e0c5f417e0245d14.tar.gz kernel-qcow2-util-linux-1e46776263b49bce3a5565f5e0c5f417e0245d14.tar.xz kernel-qcow2-util-linux-1e46776263b49bce3a5565f5e0c5f417e0245d14.zip |
libsmartcols: (docs) add note about line separators
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r-- | libsmartcols/src/table.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c index 441b5d23b..c1ed9e5e9 100644 --- a/libsmartcols/src/table.c +++ b/libsmartcols/src/table.c @@ -874,6 +874,10 @@ struct libscols_symbols *scols_table_get_symbols(const struct libscols_table *tb * 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. */ int scols_table_enable_nolinesep(struct libscols_table *tb, int enable) |