MEMCACHED_STRERROR(3) libmemcached-awesome MEMCACHED_STRERROR(3)

memcached_strerror - libmemcached Documentation

#include <libmemcached/memcached.h>
Compile and link with -lmemcached
  • ptr -- pointer to initialized memcached_st <#_CPPv412memcached_st> struct
  • rc -- memcached_return_t <#_CPPv418memcached_return_t> value to query the string representation for
the string representation of rc

memcached_strerror() takes a memcached_return_t <#_CPPv418memcached_return_t> value and returns a string describing the error.

This string must not be modified by the application.

memcached_return_t <#_CPPv418memcached_return_t> values are returned from nearly all libmemcached(3) functions.

memcached_return_t <#_CPPv418memcached_return_t> values are of an enum type so that you can set up responses with switch/case and know that you are capturing all possible return values.

memcached_strerror() returns a string describing a memcached_return_t <#_CPPv418memcached_return_t> value.

memcached(1) https://linux.die.net/man/1/memcached libmemcached(3) https://linux.die.net/man/3/libmemcached memcached_return_t https://linux.die.net/man//memcached_return_t

March 7, 2026 1.1