1MEMCACHED_LAST_ERROR_ERRNO(3)libmemcached-awesomeMEMCACHED_LAST_ERROR_ERRNO(3)
2
3
4

NAME

6       memcached_last_error_errno - libmemcached Documentation
7

SYNOPSIS

9       #include <libmemcached/memcached.h>
10              Compile and link with -lmemcached
11
12       memcached_return_t memcached_last_error(const memcached_st *ptr)
13
14              Parameters
15                     ptr -- pointer to an initialized memcached_st struct
16
17              Returns
18                     memcached_return_t indicating success of last operation
19
20       const char *memcached_last_error_message(const memcached_st *ptr)
21
22              Parameters
23                     ptr -- pointer to an initialized memcached_st struct
24
25              Returns
26                     message describing the status of last operation
27
28       int memcached_last_error_errno(const memcached_st *ptr)
29
30              Parameters
31                     ptr -- pointer to an initialized memcached_st struct
32
33              Returns
34                     errno(3) (if any) of last operation
35

DESCRIPTION

37       Retrieve error codes and messages.
38

RETURN VALUE

40       memcached_last_error() returns the last error code.
41
42       memcached_last_error_message()  returns the last error message. If this
43       error came from a specific server, its hostname and port will  be  pro‐
44       vided  in  the  error  message.  Any  error message will be returned as
45       'const char *' which does not need to be de-allocated. NULL will be re‐
46       turned if no error has occurred.
47
48       memcached_last_error_errno() returns any last local error code obtained
49       from errno(3).
50

SEE ALSO

52       memcached(1) errno(3) libmemcached(3) memcached_strerror(3)
53
54
55
56
571.1                              Jul 20, 2023    MEMCACHED_LAST_ERROR_ERRNO(3)
Impressum