zlibVersion — Locates library version at run time.
Libz.lib
#include <zlib.h>
const char * zlibVersion (void);
The zlibVersion() function shall return the string identifying the interface version at the time the library was built.
Applications should compare the value
returned from zlibVersion() with the macro
constant ZLIB_VERSION
for compatibility.
To discover library version at run time:
#include <stdio.h> |
Output
version is 1.2.3 |
© 2005-2007 Nokia |