DOKK / manpages / debian 12 / libmemcached-libmemcached-perl / Memcached::libmemcached::memcached_strerror.3pm.en
Memcached::libmemcached::memcached_strerror(3pm) User Contributed Perl Documentation Memcached::libmemcached::memcached_strerror(3pm)

memcached_strerror - Get error string

C Client Library for memcached (libmemcached, -lmemcached)

  #include <memcached.h>
  const char *
    memcached_strerror (memcached_st *ptr,
                        memcached_return_t rc);

memcached_strerror() takes a "memcached_return_t" value and returns a string describing the error.

This string must not be modified by the application.

"memcached_return_t" values are returned from nearly all libmemcached(3) functions.

"memcached_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" value.

To find out more information please check: <https://launchpad.net/libmemcached>

Brian Aker, <brian@tangent.org>

memcached(1) libmemcached(3)

2023-02-17 perl v5.36.0