summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/table.c
diff options
context:
space:
mode:
authorKarel Zak2016-02-19 14:43:06 +0100
committerKarel Zak2016-02-19 14:43:06 +0100
commit2a750b4c4ecb6a40b98cf481522ec7eaba5ca1fe (patch)
tree3df69141634a2e4875fb5a8017a45a4efc9d8087 /libsmartcols/src/table.c
parenthwclock: use labs() for long (diff)
downloadkernel-qcow2-util-linux-2a750b4c4ecb6a40b98cf481522ec7eaba5ca1fe.tar.gz
kernel-qcow2-util-linux-2a750b4c4ecb6a40b98cf481522ec7eaba5ca1fe.tar.xz
kernel-qcow2-util-linux-2a750b4c4ecb6a40b98cf481522ec7eaba5ca1fe.zip
libsmartcols: add scols_table_print_range()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/table.c')
-rw-r--r--libsmartcols/src/table.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index f91526bbd..fdbc7cd3f 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -572,13 +572,7 @@ err:
* @tb: table
* @n: column number (0..N)
*
- * This is a shortcut for
- *
- * ln = scols_new_line();
- * scols_line_set_....(cl, ...);
- * scols_table_add_line(tb, ln);
- *
- * Returns: a newly allocate line
+ * Returns: a line or NULL
*/
struct libscols_line *scols_table_get_line(struct libscols_table *tb,
size_t n)