Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

memcached_quit (3libmemcached)

Name

memcached_quit - libmemcached Documentation

Synopsis

#include <libmemcached/memcached.h>

void memcached_quit(memcached_st *ptr)

Compile and link with -lmemcached

Description

libmemcached                                     MEMCACHED_QUIT(3libmemcached)



NAME
       memcached_quit - libmemcached Documentation

SYNOPSIS
       #include <libmemcached/memcached.h>

       void memcached_quit(memcached_st *ptr)

       Compile and link with -lmemcached

DESCRIPTION
       memcached_quit()  will  disconnect  you  from  all  currently connected
       servers. It will also reset the state of the connection (ie,  any  mem-
       cached_fetch() you are in the middle of will be terminated). This func-
       tion is called automatically when you call memcached_free() on the mem-
       cached_st structure.

       You  do  not  need  to  call this on your own. All operations to change
       server hashes and parameters will handle connections to the server  for
       you. This function is provided mainly so that you can timeout your con-
       nections or reset connections during the middle of a memcached_fetch().

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

HOME
       To find out more information please check: http://libmemcached.org/

AUTHOR
       Brian Aker, <brian@tangent.org>


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | library/libmemcached |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+

SEE ALSO
       memcached(1) libmemcached(3) memcached_strerror(3)

AUTHOR
       Brian Aker

COPYRIGHT
       2011-2013, Brian Aker DataDifferential, http://datadifferential.com/



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source    was    downloaded     from      https://launchpad.net/libmem-
       cached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz.

       Further information about this software can be found on the open source
       community website at http://libmemcached.org/libMemcached.html.



1.0.18                         February 09, 2014
                                                 MEMCACHED_QUIT(3libmemcached)