X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_lib_version.3;h=87ce22bb8745b343f18ec4e1fe0893ff4d047ced;hb=e68b8f1c62d879453fc0272441e85afdb7715f09;hp=3c4897e01882c2c9aee8776637ab9a668bfcbd6b;hpb=dc421179c0d159f1ca8a6b2b64b89163a7e0c639;p=m6w6%2Flibmemcached diff --git a/docs/man/memcached_lib_version.3 b/docs/man/memcached_lib_version.3 index 3c4897e0..8b1e1a2c 100644 --- a/docs/man/memcached_lib_version.3 +++ b/docs/man/memcached_lib_version.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_LIB_VERSION" "3" "April 10, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_LIB_VERSION" "3" "October 26, 2011" "1.0.2" "libmemcached" .SH NAME memcached_lib_version \- libmemcached Documentation . @@ -30,52 +30,43 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .. .\" Man page generated from reStructeredText. . +.SH SYNOPSIS .sp -Get library version -.SH LIBRARY -.sp -C Client Library for memcached (libmemcached, \-lmemcached) -.SS SYNOPSIS -.sp -.nf -.ft C #include - -const char * - memcached_lib_version (void) - - -memcached_return_t - memcached_version (memcached_st *ptr) -.ft P -.fi -.SS DESCRIPTION +.INDENT 0.0 +.TP +.B const char * memcached_lib_version(void) +.UNINDENT +.INDENT 0.0 +.TP +.B memcached_return_t memcached_version(memcached_st\fI\ *ptr\fP) +.UNINDENT .sp -memcached_lib_version() is used to return a simple version string representing -the libmemcached version (version of the client library, not server) +Compile and link with \-lmemcached +.SH DESCRIPTION .sp -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. +\fI\%memcached_lib_version()\fP is used to return a simple version string representing the libmemcached version (client library version, not server version) +.sp +\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. .SH RETURN .sp -A string with the version of libmemcached driver is returned from -memcached_lib_version() +\fI\%memcached_lib_version()\fP returns a string with the version of the libmemcached driver. +.sp +A value of \fBmemcached_return_t\fP is returned from :c:func:\(aqmemcached_version()\(aq .sp -A value of type \fBmemcached_return_t\fP is returned from memcached_version() -On success that value will be \fBMEMCACHED_SUCCESS\fP. If called with the -\fBMEMCACHED_BEHAVIOR_USE_UDP\fP behavior set, the value \fBMEMCACHED_NOT_SUPPORTED\fPwill be returned. Use memcached_strerror() to translate this value to +On success that value will be \fBMEMCACHED_SUCCESS\fP. +.sp +If called with the \fBMEMCACHED_BEHAVIOR_USE_UDP()\fP behavior set, the value \fBMEMCACHED_NOT_SUPPORTED\fP will be returned. +.sp +Use \fBmemcached_strerror()\fP to translate this value to a printable string. .SH HOME .sp To find out more information please check: -\fI\%https://launchpad.net/libmemcached\fP -.SH AUTHOR -.sp -Brian Aker, <\fI\%brian@tangent.org\fP> -.SS SEE ALSO +\fI\%http://libmemcached.org/\fP +.SH SEE ALSO .sp -memcached(1) libmemcached(3) memcached_strerror(3) +\fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP .SH AUTHOR Brian Aker .SH COPYRIGHT