diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-02-19 09:56:27 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-02-19 09:56:27 +0000 |
commit | efd32dfb6c52e28f3b158930b64f986ff8760409 (patch) | |
tree | 17be39ecfd6527a069cb179c025d0a8e0ee2cf4d /show_bzversion.c | |
download | Compress-Bzip2-tarball-efd32dfb6c52e28f3b158930b64f986ff8760409.tar.gz |
Compress-Bzip2-2.22HEADCompress-Bzip2-2.22master
Diffstat (limited to 'show_bzversion.c')
-rw-r--r-- | show_bzversion.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/show_bzversion.c b/show_bzversion.c new file mode 100644 index 0000000..cb073f9 --- /dev/null +++ b/show_bzversion.c @@ -0,0 +1,14 @@ +#include <stdio.h> + +#include <bzlib.h> + +/**************************************************** + * This is a simple program to + * 1. test the bzip2 installation + * - if it compiles and links, we're in + * 2. run this to get the bzip2 version string + ****************************************************/ + +int main(void) { + printf("%s\n", BZ2_bzlibVersion()); +} |