[Previous] [Next] [Up] [Top] [Edit]

NAME

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);
 

PARAMETERS

DESCRIPTION

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:

SEE ALSO

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]