1MEMCACHED_QUIT(3) libmemcached MEMCACHED_QUIT(3)
2
3
4
6 memcached_quit - libmemcached Documentation
7
9 #include <libmemcached/memcached.h>
10
11 void memcached_quit(memcached_st *ptr)
12
13 Compile and link with -lmemcached
14
16 memcached_quit() will disconnect you from all currently connected
17 servers. It will also reset the state of the connection (ie, any mem‐
18 cached_fetch() you are in the middle of will be terminated). This func‐
19 tion is called automatically when you call memcached_free() on the mem‐
20 cached_st structure.
21
22 You do not need to call this on your own. All operations to change
23 server hashes and parameters will handle connections to the server for
24 you. This function is provided mainly so that you can timeout your con‐
25 nections or reset connections during the middle of a memcached_fetch().
26
28 A value of type memcached_return_t is returned On success that value
29 will be MEMCACHED_SUCCESS. Use memcached_strerror() to translate this
30 value to a printable string.
31
33 To find out more information please check: http://libmemcached.org/
34
36 Brian Aker, <brian@tangent.org>
37
39 memcached(1) libmemcached(3) memcached_strerror(3)
40
42 Brian Aker
43
45 2011-2013, Brian Aker DataDifferential, http://datadifferential.com/
46
47
48
49
501.0.16 January 31, 2013 MEMCACHED_QUIT(3)