libdballe 4.0.18
|
Routines to parse data in CSV format. More...
#include <stdio.h>
Go to the source code of this file.
Functions | |
int | dba_csv_read_next (FILE *in, char **cols, int col_max) |
Parse a CSV line. |
Routines to parse data in CSV format.
int dba_csv_read_next | ( | FILE * | in, |
char ** | cols, | ||
int | col_max | ||
) |
Parse a CSV line.
in | The file where to read from |
cols | The array of char* that will hold the parsed columns. If the line has more than `cols' columns, the exceeding ones will be ignored. Please note that you have to deallocate all the lines returned in cols. |
col_max | The size of cols |