1memcached_quit.pop(3) memcached_quit memcached_quit.pop(3)
2
3
4
6 memcached_quit - Disconnect from all servers
7
9 C Client Library for memcached (libmemcached, -lmemcached)
10
12 #include <memcached.h>
13
14 void memcached_quit (memcached_st *ptr);
15
17 memcached_quit() will disconnect you from all currently connected
18 servers. It will also reset the state of the connection (ie, any
19 memcached_fetch() you are in the middle of will be terminated). This
20 function is called automatically when you call memcached_free() on the
21 "memcached_st" structure.
22
23 You do not need to call this on your own. All operations to change
24 server hashes and parameters will handle connections to the server for
25 you. This function is provided mainly so that you can timeout your
26 connections or reset connections during the middle of a
27 memcached_fetch().
28
30 A value of type "memcached_return" is returned On success that value
31 will be "MEMCACHED_SUCCESS". Use memcached_strerror() to translate
32 this value to a printable string.
33
35 To find out more information please check:
36 <https://launchpad.net/libmemcached>
37
39 Brian Aker, <brian@tangent.org>
40
42 memcached(1) libmemcached(3) memcached_strerror(3)
43
44
45
46 2010-06-28 memcached_quit.pop(3)