1memcached_version.pop(3) memcached_version memcached_version.pop(3)
2
3
4
6 memcached_lib_version, memcached_version - Get library version
7
9 C Client Library for memcached (libmemcached, -lmemcached)
10
12 #include <memcached.h>
13
14 const char *
15 memcached_lib_version (void)
16
17
18 memcached_return_t
19 memcached_version (memcached_st *ptr)
20
22 memcached_lib_version() is used to return a simple version string
23 representing the libmemcached version (version of the client library,
24 not server)
25
26 memcached_version() is used to set the major, minor, and micro versions
27 of each memcached server being used by the memcached_st connection
28 structure. It returns the memcached server return code.
29
31 A string with the version of libmemcached driver is returned from
32 memcached_lib_version()
33
34 A value of type "memcached_return_t" is returned from
35 memcached_version() On success that value will be "MEMCACHED_SUCCESS".
36 If called with the "MEMCACHED_BEHAVIOR_USE_UDP" behavior set, the value
37 "MEMCACHED_NOT_SUPPORTED" will be returned. Use memcached_strerror() to
38 translate this value to a printable string.
39
41 To find out more information please check:
42 <https://launchpad.net/libmemcached>
43
45 Brian Aker, <brian@tangent.org>
46
48 memcached(1) libmemcached(3) memcached_strerror(3)
49
50
51
52 2010-06-28 memcached_version.pop(3)