7 C Client Library for memcached (libmemcached, -lmemcached)
11 #include <memcached.h>
12 void memcached_quit(memcached_st *ptr);
17 memcached_quit() will disconnect you from all currently connected servers.
18 It will also reset the state of the connection (aka any memcached_fetch you
19 are in the middle of will be terminated). This function is called
20 automatically when you call memcached_free() on the memcached_st structure.
22 You do not need to call this on your own. All operations to change server
23 hashes and parameters will handle connections to the server for you. This
24 function is provided mainly so that you can timeout your connections or
25 reset connections during the middle of a memcached_fetch().
29 memcached_quit() returns memcached_return. The value on success will be MEMCACHED_SUCCESS. For all errors check with memcached_strerror().
33 To find out more information please check: http://tangent.org/552/libmemcached.html
37 Brian Aker, brian@tangent.org
41 memcached(1) libmemcached(3) memcached_strerror(3)