Scroll to navigation

..::docs::memcached_strerror(3) libmemcached ..::docs::memcached_strerror(3)

NAME

memcached_strerror - Get error string

LIBRARY

C Client Library for memcached (libmemcached, -lmemcached)

SYNOPSIS

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

DESCRIPTION

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

This string must not be modified by the application.

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

"memcached_return" 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.

RETURN

memcached_strerror() returns a string describing a "memcached_return" value.

HOME

To find out more information please check: <http://tangent.org/552/libmemcached.html>

AUTHOR

Brian Aker, <brian@tangent.org>

SEE ALSO

memcached(1) libmemcached(3)

2009-05-20