table_colpad - pad column output for justification.
SYNOPSIS
#include <../tablelib/table.h> void table_colpad(File file, char *string, int width, int precision, int type);
Output string to the file in a column of width characters. If precision is non-zero, the output is right justified as a number with the "." precision characters from the right edge of the column. Otherwise string is left justified. The type may override the default justification with one of the following #defined values:
This is a low level routine to output one table column at a time with the proper justification. User programs should call table_put.
table_colval
,
table_colvals
,
table_colvali
,
table_colvald
,
table_search
,
table_srange
,
table_svalue
,
table_rowloc
,
table_parsline
,
table_coladd
,
table_colarg
,
table_colnum
,
table_colnam
,
table_hdrfree
,
table_hdrnth
,
table_rowfree
,
table_header
,
table_rowput
,
table_hdrput
,
table_rowget
,
table_rowtrim
,
table_hdrval
,
table_hdrvaln
,
table_hdrvali
,
table_hdrvald
,
table_hdrvals
,
table_hdrfind
,
table_extract
,
table_load
,
table_loadva
,
table_mode
,
table_ncol
,
table_ofs
,
table_ors
[Previous] [Next] [Up] [Top] [Edit]