memcached_strerror - libmemcached Documentation
Contents
Description
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.
Name
memcached_strerror - libmemcached Documentation
Return Value
memcached_strerror() returns a string describing a memcached_return_t value.
See Also
memcached(1)libmemcached(3)memcached_return_t
1.1 Mar 31, 2024 MEMCACHED_STRERROR(3)
Synopsis
#include<libmemcached/memcached.h>
Compile and link with -lmemcached
constchar*memcached_strerror(memcached_st*ptr,memcached_return_trc)Parameters
• ptr -- pointer to initialized memcached_st struct
• rc -- memcached_return_t value to query the string representation for
Returns
the string representation of rc
