1 .TH "MEMCACHED_LIB_VERSION" "3" "April 17, 2012" "1.0.6" "libmemcached"
3 memcached_lib_version \- 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 const char * memcached_lib_version(void)
42 .B memcached_return_t memcached_version(memcached_st\fI\ *ptr\fP)
45 Compile and link with \-lmemcached
48 \fI\%memcached_lib_version()\fP is used to return a simple version string representing the libmemcached version (client library version, not server version)
50 \fI\%memcached_version()\fP 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.
53 \fI\%memcached_lib_version()\fP returns a string with the version of the libmemcached driver.
55 A value of \fBmemcached_return_t\fP is returned from :c:func:\(aqmemcached_version\(aq
57 On success that value will be \fBMEMCACHED_SUCCESS\fP.
59 If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP()\fP behavior set, the value \fBMEMCACHED_NOT_SUPPORTED\fP will be returned.
61 Use \fBmemcached_strerror()\fP to translate this value to
65 To find out more information please check:
66 \fI\%http://libmemcached.org/\fP
69 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
73 2011, Brian Aker DataDifferential, http://datadifferential.com/
74 .\" Generated by docutils manpage writer.