1MEMCACHED_LIB_VERSION(3) libmemcached-awesome MEMCACHED_LIB_VERSION(3)
2
3
4
6 memcached_lib_version - libmemcached Documentation
7
9 #include <libmemcached/memcached.h>
10 Compile and link with -lmemcached
11
12 const char *memcached_lib_version(void)
13
14 Returns
15 version string of libmemcached
16
17 memcached_return_t memcached_version(memcached_st *ptr)
18
19 Parameters
20 ptr -- pointer to initialized memcached_st struct
21
22 Returns
23 memcached_return_t indicating success
24
26 memcached_lib_version() is used to return a simple version string rep‐
27 resenting the libmemcached version (client library, not server).
28
29 memcached_version() is used to set the major, minor, and micro versions
30 of each memcached server being used by the memcached_st connection
31 structure. It returns the memcached server return code.
32
34 memcached_lib_version() returns a string with the version of the lib‐
35 memcached driver.
36
37 A value of memcached_return_t is returned from :func:'memcached_ver‐
38 sion'
39
40 On success that value will be MEMCACHED_SUCCESS.
41
42 If called with the MEMCACHED_BEHAVIOR_USE_UDP behavior set, the value
43 MEMCACHED_NOT_SUPPORTED will be returned.
44
45 Use memcached_strerror() to translate this value to a printable string.
46
48 memcached(1) libmemcached(3) memcached_strerror(3)
49
50
51
52
531.1 Sep 20, 2021 MEMCACHED_LIB_VERSION(3)