#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. | |
| 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 |
1.5.2