1 .TH "MEMCACHED_QUIT" "3" "April 28, 2012" "1.0.7" "libmemcached"
3 memcached_quit \- libmemcached Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
35 #include <libmemcached/memcached.h>
38 .B void memcached_quit(memcached_st\fI\ *ptr\fP)
41 Compile and link with \-lmemcached
44 \fI\%memcached_quit()\fP will disconnect you from all currently connected
45 servers. It will also reset the state of the connection (ie, any \fBmemcached_fetch()\fP you are in the middle of will be terminated). This function is
46 called automatically when you call \fBmemcached_free()\fP on the \fBmemcached_st\fP structure.
48 You do not need to call this on your own. All operations to change server
49 hashes and parameters will handle connections to the server for you. This
50 function is provided mainly so that you can timeout your connections or
51 reset connections during the middle of a \fBmemcached_fetch()\fP.
54 A value of type \fBmemcached_return_t\fP is returned On success that value
55 will be \fBMEMCACHED_SUCCESS\fP. Use \fBmemcached_strerror()\fP to
56 translate this value to a printable string.
59 To find out more information please check:
60 \fI\%http://libmemcached.org/\fP
63 Brian Aker, <\fI\%brian@tangent.org\fP>
66 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
70 2011, Brian Aker DataDifferential, http://datadifferential.com/
71 .\" Generated by docutils manpage writer.