zlibVersion

Name

zlibVersion -- discover library version at run time

Synopsis

#include <zlib.h>

const char * zlibVersion (void);

Description

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.

Return Value

The zlibVersion() function shall return a the string identifying the version of the library currently implemented.

Errors

None defined.