summaryrefslogtreecommitdiff
path: root/docs/source/memcached_strerror.rst
diff options
context:
space:
mode:
authorContinuous Integration <ci@tangent.org>2014-02-16 03:31:37 -0800
committerContinuous Integration <ci@tangent.org>2014-02-16 03:31:37 -0800
commitb163cbc1e82ea834b66e3b4c1e8070394ccb506d (patch)
tree999734df2e2c288d6726af31f9336beadb2a781a /docs/source/memcached_strerror.rst
parent8541a9863cffad457f4d583af6a6c3613250193d (diff)
parent37deb7fa75a0b3fbea4d58c032446213f0d5a02a (diff)
downloadlibmemcached-b163cbc1e82ea834b66e3b4c1e8070394ccb506d.tar.gz
Merge bzr://soup.haus/ Build: jenkins-Libmemcached-473HEADtrunk
Diffstat (limited to 'docs/source/memcached_strerror.rst')
-rw-r--r--docs/source/memcached_strerror.rst57
1 files changed, 57 insertions, 0 deletions
diff --git a/docs/source/memcached_strerror.rst b/docs/source/memcached_strerror.rst
new file mode 100644
index 00000000..07023b8d
--- /dev/null
+++ b/docs/source/memcached_strerror.rst
@@ -0,0 +1,57 @@
+================================================
+Coverting Errors, memcached_return_t, to strings
+================================================
+
+
+.. index:: object: memcached_st
+
+--------
+SYNOPSIS
+--------
+
+#include <libmemcached/memcached.h>
+
+.. c:function:: const char * memcached_strerror (memcached_st *ptr, memcached_return_t rc)
+
+Compile and link with -lmemcached
+
+
+-----------
+DESCRIPTION
+-----------
+
+
+:c:func:`memcached_strerror` takes a :c:type:`memcached_return_t` value and returns a string describing the error.
+
+This string must not be modified by the application.
+
+:c:type:`memcached_return_t` values are returned from nearly all libmemcached(3) functions.
+
+:c:type:`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.
+
+
+------
+RETURN
+------
+
+
+:c:func:`memcached_strerror` returns a string describing a :c:type:`memcached_return_t` value.
+
+
+----
+HOME
+----
+
+
+To find out more information please check:
+`http://libmemcached.org/ <http://libmemcached.org/>`_
+
+
+
+--------
+SEE ALSO
+--------
+
+
+:manpage:`memcached(1)` :manpage:`libmemcached(3)`
+