Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

memcached_version (3libmemcached)

Name

memcached_version - libmemcached Documentation

Synopsis

#include <libmemcached/memcached.h>

const char * memcached_lib_version(void)

memcached_return_t memcached_version(memcached_st *ptr)

Compile and link with -lmemcached

Description

libmemcached                                  MEMCACHED_VERSION(3libmemcached)



NAME
       memcached_version - libmemcached Documentation

SYNOPSIS
       #include <libmemcached/memcached.h>

       const char * memcached_lib_version(void)

       memcached_return_t memcached_version(memcached_st *ptr)

       Compile and link with -lmemcached

DESCRIPTION
       memcached_lib_version()  is used to return a simple version string rep-
       resenting the libmemcached version (client library version, not  server
       version)

       memcached_version() is used to set the major, minor, and micro versions
       of each memcached server being  used  by  the  memcached_st  connection
       structure. It returns the memcached server return code.

RETURN
       memcached_lib_version()  returns  a string with the version of the lib-
       memcached driver.

       A value of memcached_return_t is returned from  :c:func:'memcached_ver-
       sion'

       On success that value will be MEMCACHED_SUCCESS.

       If called with the MEMCACHED_BEHAVIOR_USE_UDP() behavior set, the value
       MEMCACHED_NOT_SUPPORTED will be returned.

       Use memcached_strerror() to translate this value to a printable string.

HOME
       To find out more information please check: http://libmemcached.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_VERSION(3libmemcached)