1MEMCACHED_STRERROR(3) libmemcached-awesome MEMCACHED_STRERROR(3)
2
3
4
6 memcached_strerror - libmemcached Documentation
7
9 #include <libmemcached/memcached.h>
10 Compile and link with -lmemcached
11
12 const char *memcached_strerror(memcached_st *ptr, memcached_return_t
13 rc)
14
15 Parameters
16
17 • ptr -- pointer to initialized memcached_st struct
18
19 • rc -- memcached_return_t value to query the string rep‐
20 resentation for
21
22 Returns
23 the string representation of rc
24
26 memcached_strerror() takes a memcached_return_t value and returns a
27 string describing the error.
28
29 This string must not be modified by the application.
30
31 memcached_return_t values are returned from nearly all libmemcached(3)
32 functions.
33
34 memcached_return_t values are of an enum type so that you can set up
35 responses with switch/case and know that you are capturing all possible
36 return values.
37
39 memcached_strerror() returns a string describing a memcached_return_t
40 value.
41
43 memcached(1) libmemcached(3) memcached_return_t
44
45
46
47
481.1 Sep 20, 2021 MEMCACHED_STRERROR(3)