3 memcached_flush - wipe contents of memcached servers
7 C Client Library for memcached (libmemcached, -lmemcached)
11 #include <memcached.h>
14 memcached_flush (memcached_st *ptr,
19 memcached_flush() is used to wipe clean the contents of memcached(1) servers.
20 It will either do this immediately or expire the content based on the
21 expiration time passed to the method (a value of zero causes an immediate
22 flush). The operation is not atomic to multiple servers, just atomic to a
23 single server. That is, it will flush the servers in the order that they were
28 A value of type C<memcached_return> is returned
29 On success that value will be C<MEMCACHED_SUCCESS>.
30 Use memcached_strerror() to translate this value to a printable string.
34 To find out more information please check:
35 L<http://tangent.org/552/libmemcached.html>
39 Brian Aker, E<lt>brian@tangent.orgE<gt>
43 memcached(1) libmemcached(3) memcached_strerror(3)