X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_clone.3;h=088c1dedc65bd568f3008e962fbdd31db7e61145;hb=9bdee8f89d770307eccf292d1d404fc4049c7976;hp=76e11dadde1b03e961c7ff8764127f0e608031e4;hpb=1edb76c1dfdf6307d010307b6f04bed3ce22e3a2;p=m6w6%2Flibmemcached diff --git a/docs/man/memcached_clone.3 b/docs/man/memcached_clone.3 index 76e11dad..088c1ded 100644 --- a/docs/man/memcached_clone.3 +++ b/docs/man/memcached_clone.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CLONE" "3" "April 07, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CLONE" "3" "June 17, 2011" "0.49" "libmemcached" .SH NAME memcached_clone \- libmemcached Documentation . @@ -30,26 +30,27 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .. .\" Man page generated from reStructeredText. . -.sp -Create a memcached_st structure -.SH LIBRARY -.sp -C Client Library for memcached (libmemcached, \-lmemcached) .SH SYNOPSIS .sp -.nf -.ft C #include - -memcached_st *memcached_create (memcached_st *ptr); - -void memcached_free (memcached_st *ptr); - -memcached_st *memcached_clone (memcached_st *destination, memcached_st *source); - -void memcached_servers_reset(memcached_st); -.ft P -.fi +.INDENT 0.0 +.TP +.B memcached_st *memcached_create (memcached_st *ptr); +.UNINDENT +.INDENT 0.0 +.TP +.B void memcached_free (memcached_st *ptr); +.UNINDENT +.INDENT 0.0 +.TP +.B memcached_st *memcached_clone (memcached_st *destination, memcached_st *source); +.UNINDENT +.INDENT 0.0 +.TP +.B void memcached_servers_reset(memcached_st); +.UNINDENT +.sp +Compile and link with \-lmemcached .SH DESCRIPTION .sp memcached_create() is used to create a \fBmemcached_st\fP structure that will then @@ -57,6 +58,8 @@ be used by other libmemcached(3) functions to communicate with the server. You should either pass a statically declared \fBmemcached_st\fP to memcached_create() or a NULL. If a NULL passed in then a structure is allocated for you. .sp +Please note, when you write new application use memcached_create_with_options() over memcached_create(). +.sp memcached_clone() is similar to memcached_create(3) but it copies the defaults and list of servers from the source \fBmemcached_st\fP. If you pass a null as the argument for the source to clone, it is the same as a call to memcached_create(). @@ -83,17 +86,14 @@ memcached_clone() returns a pointer to the memcached_st that was created .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> +\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 -2011, Brian Aker +2011, Brian Aker DataDifferential, http://datadifferential.com/ .\" Generated by docutils manpage writer. .\" .