1 Converting Error Codes to Messages
2 ==================================
7 #include <libmemcached/memcached.h>
8 Compile and link with -lmemcached
10 .. function:: const char *memcached_strerror(memcached_st *ptr, memcached_return_t rc)
15 `memcached_strerror` takes a `memcached_return_t` value and returns a string
18 This string must not be modified by the application.
20 `memcached_return_t` values are returned from nearly all libmemcached(3)
23 `memcached_return_t` values are of an enum type so that you can set up responses
24 with switch/case and know that you are capturing all possible return values.
29 `memcached_strerror` returns a string describing a `memcached_return_t` value.
36 :manpage:`memcached(1)`
37 :manpage:`libmemcached(3)`
41 * :manpage:`memcached(1)`
42 * :doc:`../libmemcached`