3 memcached_lib_version, memcached_version - Get library version
7 C Client Library for memcached (libmemcached, -lmemcached)
11 #include <memcached.h>
14 memcached_lib_version (void)
18 memcached_version (memcached_st *ptr)
23 memcached_lib_version() is used to return a simple version string representing
24 the libmemcached version (version of the client library, not server)
27 memcached_version() is used to set the major, minor, and micro versions of each
28 memcached server being used by the memcached_st connection structure. It returns the
29 memcached server return code.
33 A string with the version of libmemcached driver is returned from
34 memcached_lib_version()
36 A value of type C<memcached_return_t> is returned from memcached_version()
37 On success that value will be C<MEMCACHED_SUCCESS>. If called with the
38 C<MEMCACHED_BEHAVIOR_USE_UDP> behavior set, the value C<MEMCACHED_NOT_SUPPORTED>
39 will be returned. Use memcached_strerror() to translate this value to
44 To find out more information please check:
45 L<https://launchpad.net/libmemcached>
49 Brian Aker, E<lt>brian@tangent.orgE<gt>
53 memcached(1) libmemcached(3) memcached_strerror(3)