starbase

table_colnum - look up a column in a table header.

SYNOPSIS

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

 int table_colnum(TableHead table, char *name);
 

PARAMETERS ———-

DESCRIPTION

Look up name in the table and return its column number.

Returns the column number of name or 0 if name is not a column of table.

SEE ALSO

table_colval , table_colvals , table_colvali , table_colvald , table_rowloc , table_parsline , table_colpad , table_coladd , table_colarg , table_colnam , table_hdrfree , table_hdrnth , table_rowfree , table_header , table_rowput , table_hdrput , table_rowget , table_rowtrim , table_hdrget , table_hdrgetn , table_hdrgeti , table_hdrgetd , table_hdrgets , table_hdrfind , table_extract , table_load , table_loadva , table_mode , table_ncol , table_ofs , table_ors