File: show_bzversion.c

package info (click to toggle)
libcompress-bzip2-perl 2.18-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,204 kB
  • ctags: 1,455
  • sloc: ansic: 5,825; xml: 2,408; perl: 1,012; sh: 255; makefile: 180; pascal: 122
file content (14 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
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());
}