1 .TH "MEMCACHED_FLUSH" "3" "March 23, 2012" "1.0.5" "libmemcached"
3 memcached_flush \- libmemcached Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
34 Wipe contents of memcached servers
37 #include <libmemcached/memcached.h>
40 .B memcached_return_t memcached_flush(memcached_st\fI\ *ptr\fP, time_t\fI\ expiration\fP)
43 Compile and link with \-lmemcached
46 :c:func::\fImemcached_flush\fP is used to wipe clean the contents of \fBmemcached\fP servers.
47 It will either do this immediately or expire the content based on the
48 expiration time passed to the method (a value of zero causes an immediate
49 flush). The operation is not atomic to multiple servers, just atomic to a
50 single server. That is, it will flush the servers in the order that they were
54 A value of type \fBmemcached_return_t\fP is returned
55 On success that value will be \fBMEMCACHED_SUCCESS\fP.
56 Use \fBmemcached_strerror\fP to translate this value to a printable string.
59 To find out more information please check:
60 \fI\%http://libmemcached.org/\fP
63 Brian Aker, <\fI\%brian@tangent.org\fP>
66 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
70 2011, Brian Aker DataDifferential, http://datadifferential.com/
71 .\" Generated by docutils manpage writer.