From f2a59b728c20f7fe78874dd41187ab3fb2db6c7e Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sun, 16 Feb 2014 01:06:40 -0800 Subject: Fix for building docs. --- .../libmemcached/memcached_last_error_message.rst | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 docs/source/libmemcached/memcached_last_error_message.rst (limited to 'docs/source/libmemcached/memcached_last_error_message.rst') diff --git a/docs/source/libmemcached/memcached_last_error_message.rst b/docs/source/libmemcached/memcached_last_error_message.rst new file mode 100644 index 00000000..f91f7ae2 --- /dev/null +++ b/docs/source/libmemcached/memcached_last_error_message.rst @@ -0,0 +1,47 @@ +================= +Retrieving errors +================= + + +-------- +SYNOPSIS +-------- + + +#include + +.. c:function:: const char *memcached_last_error_message(memcached_st *) + +Compile and link with -lmemcached + + +----------- +DESCRIPTION +----------- + +:c:func:`memcached_last_error_message` is used to return the last error +message that the server responded too. If this error came from a specific +server, its hostname and port will be provided in the error message. + +------ +RETURN +------ + +memcached_last_error_message returns a const char* which does not need to be +de-allocated. If no error has occurred then it will return NULL. + +---- +HOME +---- + +To find out more information please check: +`http://libmemcached.org/ `_ + + +-------- +SEE ALSO +-------- + +:manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)` + + -- cgit v1.2.1