X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fman%2Fmemcached_create.3;h=3fdbbf94231975e2b1be1289f3c186028427c872;hb=c1a3a805f06491115080459bcc7c88eab5282294;hp=702e2005b6bf6040e74c8ccfdb08e85b190d9be2;hpb=ef301192f389f5f6ab4f8ed8c204ca7e115fe0b1;p=m6w6%2Flibmemcached diff --git a/docs/man/memcached_create.3 b/docs/man/memcached_create.3 index 702e2005..3fdbbf94 100644 --- a/docs/man/memcached_create.3 +++ b/docs/man/memcached_create.3 @@ -1,4 +1,4 @@ -.TH "MEMCACHED_CREATE" "3" "April 08, 2011" "0.47" "libmemcached" +.TH "MEMCACHED_CREATE" "3" "June 17, 2011" "0.49" "libmemcached" .SH NAME memcached_create \- libmemcached Documentation . @@ -30,11 +30,6 @@ 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 #include @@ -54,6 +49,8 @@ C Client Library for memcached (libmemcached, \-lmemcached) .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 @@ -61,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(). @@ -87,10 +86,7 @@ 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 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP