Fix for building docs.
[awesomized/libmemcached] / docs / source / libmemcached / memcached_last_error_message.rst
1 =================
2 Retrieving errors
3 =================
4
5
6 --------
7 SYNOPSIS
8 --------
9
10
11 #include <libmemcached/memcached.h>
12
13 .. c:function:: const char *memcached_last_error_message(memcached_st *)
14
15 Compile and link with -lmemcached
16
17
18 -----------
19 DESCRIPTION
20 -----------
21
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.
25
26 ------
27 RETURN
28 ------
29
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.
32
33 ----
34 HOME
35 ----
36
37 To find out more information please check:
38 `http://libmemcached.org/ <http://libmemcached.org/>`_
39
40
41 --------
42 SEE ALSO
43 --------
44
45 :manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`
46
47