.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MEMCACHED_LIB_VERSION" "3" "Mar 11, 2024" "1.1" "libmemcached-awesome" .SH NAME memcached_lib_version \- libmemcached Documentation .SH SYNOPSIS .INDENT 0.0 .TP .B #include Compile and link with \-lmemcached .UNINDENT .INDENT 0.0 .TP .B const char *memcached_lib_version(void) .INDENT 7.0 .TP .B Returns version string of \fBlibmemcached\fP .UNINDENT .UNINDENT .INDENT 0.0 .TP .B \fI\%memcached_return_t\fP memcached_version(\fI\%memcached_st\fP *ptr) .INDENT 7.0 .TP .B Parameters \fBptr\fP \-\- pointer to initialized \fI\%memcached_st\fP struct .TP .B Returns \fI\%memcached_return_t\fP indicating success .UNINDENT .UNINDENT .SH DESCRIPTION .sp \fI\%memcached_lib_version()\fP is used to return a simple version string representing the \fBlibmemcached\fP version (client library, not server). .sp \fI\%memcached_version()\fP is used to set the major, minor, and micro versions of each memcached server being used by the \fI\%memcached_st\fP connection structure. It returns the memcached server return code. .SH RETURN VALUE .sp \fI\%memcached_lib_version()\fP returns a string with the version of the libmemcached driver. .sp A value of \fI\%memcached_return_t\fP is returned from :func:\(aqmemcached_version\(aq .sp On success that value will be \fI\%MEMCACHED_SUCCESS\fP\&. .sp If called with the \fI\%MEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, the value \fI\%MEMCACHED_NOT_SUPPORTED\fP will be returned. .sp Use \fI\%memcached_strerror()\fP to translate this value to a printable string. .SH SEE ALSO .sp \fBmemcached(1)\fP \fBlibmemcached(3)\fP \fBmemcached_strerror(3)\fP .\" Generated by docutils manpage writer. .