1 ================================================
2 Coverting Errors, memcached_return_t, to strings
3 ================================================
6 .. index:: object: memcached_st
12 #include <libmemcached/memcached.h>
14 .. c:function:: const char * memcached_strerror (memcached_st *ptr, memcached_return_t rc);
16 Compile and link with -lmemcached
24 memcached_strerror() takes a \ ``memcached_return_t``\ value and returns a string
27 This string must not be modified by the application.
29 \ ``memcached_return_t``\ values are returned from nearly all libmemcached(3) functions.
31 \ ``memcached_return_t``\ values are of an enum type so that you can set up responses
32 with switch/case and know that you are capturing all possible return values.
40 memcached_strerror() returns a string describing a \ ``memcached_return_t``\ value.
48 To find out more information please check:
49 `http://libmemcached.org/ <http://libmemcached.org/>`_
58 memcached(1) libmemcached(3)