1MEMCACHED_QUIT(3)            libmemcached-awesome            MEMCACHED_QUIT(3)
2
3
4

NAME

6       memcached_quit - libmemcached Documentation
7

SYNOPSIS

9       #include <libmemcached/memcached.h>
10              Compile and link with -lmemcached
11
12       void memcached_quit(memcached_st *ptr)
13
14              Parameters
15                     ptr -- pointer to initialized memcached_st struct
16

DESCRIPTION

18       memcached_quit()  will  disconnect  you  from  all  currently connected
19       servers. It will also reset the state  of  the  connection  (i.e.,  any
20       memcached_fetch()  you  are  in the middle of will be terminated). This
21       function is called automatically when you call memcached_free() on  the
22       memcached_st structure.
23
24       You  do  not  need  to  call this on your own. All operations to change
25       server hashes and parameters will handle connections to the server  for
26       you. This function is provided mainly so that you can timeout your con‐
27       nections or reset connections during the middle of a memcached_fetch().
28

RETURN VALUE

30       A value of type memcached_return_t is returned On  success  that  value
31       will  be MEMCACHED_SUCCESS.  Use memcached_strerror() to translate this
32       value to a printable string.
33

SEE ALSO

35       memcached(1) libmemcached(3) memcached_strerror(3)
36
37
38
39
401.1                              Mar 06, 2023                MEMCACHED_QUIT(3)
Impressum