summaryrefslogtreecommitdiff
path: root/docs/source/libmemcached/memcached_last_error_message.rst
blob: f91f7ae2b4e0c2407cd57f0a88bb7cf1eef07fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
=================
Retrieving errors
=================


--------
SYNOPSIS
--------


#include <libmemcached/memcached.h>
 
.. 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/ <http://libmemcached.org/>`_


--------
SEE ALSO
--------

:manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`