diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-08-22 10:23:28 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-08-22 10:23:28 (GMT) |
commit | 769984407afdb853a552406fdfd9796c75768cc8 (patch) | |
tree | 2ee64aee32cf3c33f51044f7adcb38b1869f982b /examples | |
parent | c380474232c821a93ec088e32d354509cc44b3ae (diff) | |
download | lz4-769984407afdb853a552406fdfd9796c75768cc8.zip lz4-769984407afdb853a552406fdfd9796c75768cc8.tar.gz lz4-769984407afdb853a552406fdfd9796c75768cc8.tar.bz2 |
add new directory 'examples'
Diffstat (limited to 'examples')
-rw-r--r-- | examples/printVersion.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/printVersion.c b/examples/printVersion.c new file mode 100644 index 0000000..f86e469 --- /dev/null +++ b/examples/printVersion.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include "lz4.h" + +int main(int argc, char** argv) +{ + printf("Hello, LZ4 (version = %d)\n", LZ4_versionNumber()); + return 0; +} |