table_colpad - pad column output for justification.

SYNOPSYS

#include "table.h"

void table_colpad(file, string, width, precision, type)

PARAMETERS

File file
output file.
char *string
string to pad.
int width
width of output in characters.
int precision
precision of numeric output.
int type
justification padding type.

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:

* TAB_DEFAULT * TAB_LEFT * TAB_RIGHT * TAB_CENTER * TAB_SKIP

This is a low level routine to output one table column at a time with the proper justification. User programs should call table_put.