[clug] CFile testers needed :-) Now reading and writing XZ files!

Paul Wayper paulway at mabula.net
Wed Nov 20 14:43:54 MST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I've been working on my CFile library and now it can read and write .xz
files.  CFile gives you a standard 'stdio'-like interface to reading and
writing files regardless of their compression type - if you open a .gz, .bz2
or .xz file you can read or write uncompressed data using standard fgets,
fprintf, fread, fwrite, feof, etc functions, and the compression happens
behind the scenes.  If you open any other file, you get the same interface
on an uncompressed file.

I'm now at the stage where I'd like more people to use it and suggest
improvements or send me bug reports :-)  Or just make your C (and C++)
programs read and write compressed and uncompressed files seamlessly.

You can check the code out from:

https://github.com/PaulWay/cfile/

(Yes, I've finally moved my development work to git!)

Feedback, etc all welcome.  Have fun,

Paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKNLQkACgkQu7W0U8VsXYJQOQCbB1FTNqkEIQpQvf1VlXq5nRla
9sgAn1Ykz/0tlO8O9LGABFrNi/AmsKbo
=Ffd6
-----END PGP SIGNATURE-----


More information about the linux mailing list