X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_clone.3;h=042831000dbd63701d88683328cc756facc0acdc;hb=4d82f8155a803e987352e9d6758df4d0449ecf5a;hp=68722fe9b6a9b349e73ee03880e9711def60206d;hpb=f8620692e077bfeca1b6d51e1543ffa0f3e344fd;p=awesomized%2Flibmemcached diff --git a/docs/man/memcached_clone.3 b/docs/man/memcached_clone.3 index 68722fe9..04283100 100644 --- a/docs/man/memcached_clone.3 +++ b/docs/man/memcached_clone.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CLONE" "3" "April 08, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CLONE" "3" "June 02, 2011" "0.47" "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. .\" .