11 #include <libmemcached/memcached.h>
13 .. c:function:: const char *memcached_last_error_message(memcached_st *)
15 Compile and link with -lmemcached
22 :c:func:`memcached_last_error_message` is used to return the last error
23 message that the server responded too. If this error came from a specific
24 server, its hostname and port will be provided in the error message.
30 memcached_last_error_message returns a const char* which does not need to be
31 de-allocated. If no error has occurred then it will return NULL.
37 To find out more information please check:
38 `http://libmemcached.org/ <http://libmemcached.org/>`_
45 :manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`