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

NAME

table_colarg - parse a table program column argument.

SYNOPSIS

#include <../tablelib/table.h>

 int table_colarg(TableHead table, char *column, char *flag, char *form[], int
 *value, int *check);
 

PARAMETERS

DESCRIPTION

table_colarg parses any flags from the end of a column name argument given to a table program on the program command line and calls table_col to look up the column in the table header. table_arg may also be used to parse column flags without looking up the column number. If table is NULL table_colnum is not called and the return value is 0.

RETURNS

table_colarg returns the column number of the column or 0 if the column is not in the table.

SEE ALSO

table_colval , table_colvals , table_colvali , table_colvald , table_search , table_srange , table_svalue , table_rowloc , table_parsline , table_colpad , table_coladd , 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]