7 C Client Library for memcached (libmemcached, -lmemcached)
11 #include <memcached.h>
12 memcached_return memcached_flush(memcached_st *ptr, time_t expiration);
17 memcached_flush() is used to wipe clean the contents of memcached servers.
18 It will either do this immediatly or expire the content based on the
19 expiration time passed to the method (a value of zero causes an immediate
20 flush). The operation is not atomic to multiple servers, just atomic to a
21 single server. Aka it will flush the servers in the order that they were
26 memcached_flush() returns memcached_return. The value on success will be MEMCACHED_SUCCESS. For all errors check with memcached_strerror().
30 To find out more information please check: http://tangent.org/552/libmemcached.html
34 Brian Aker, brian@tangent.org
38 memcached(1) libmemcached(3) memcached_strerror(3)