libcsv

Free and open source CSV library that will help you read and write CSV data
Download

libcsv Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Robert Gamble
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 58 KB

libcsv Tags


libcsv Description

Free and open source CSV library that will help you read and write CSV data libcsv is a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data. libcsv provides a straight-forward interface using callback functions to handle parsed fields and rows and can parse improperly formatted CSV files.NOTE: libcsv is licensed and distributed under the terms of the GNU Library or Lesser General Public License (LGPL). What's New in This Release: · This release contains interface changes that are not compatible with previous versions. Callback functions now use void * parameters instead of char *, this eliminates the need to cast data read into a buffer of unsigned char which is the proper way to read binary data data is also treated as an array of unsigned char internally. The cb2 callback function now uses int instead of char, char has changed to unsigned char in several places, csv_opts has been replaced with csv_get_opts and csv_set_opts, and csv_fini returns -1 instead of 0 when no newline if present at the end of the last record. New features also make this version binary-incompatible with previous versions. · Added CSV_APPEND_NULL option which will null-terminate all collected fields making it easier to treat data as C strings when desired. · Added C++ wrapper in csv.h to make it easier to call functions from C++. · Added functions to change the memory allocation functions used, get the size of the internal buffer, and get and set the size of the amount of memory requested when the internal buffer gets too large.


libcsv Related Software