7 C Client Library for memcached (libmemcached, -lmemcached)
11 #include <memcached.h>
14 memcached_delete (memcached_st *ptr,
15 char *key, size_t key_length,
19 memcached_delete_by_key (memcached_st *ptr,
20 char *master_key, size_t master_key_length,
21 char *key, size_t key_length,
26 memcached_delete() is used to delete a particular key. An expiration value
27 can be applied so that the key is deleted after that many seconds.
28 memcached_delete_by_key() works the same, but it takes a master key to
33 A value of type C<memcached_return> is returned
34 On success that value will be C<MEMCACHED_SUCCESS>.
35 Use memcached_strerror() to translate this value to a printable string.
37 If you are using the non-blocking mode of the library, success only
38 means that the message was queued for delivery.
42 To find out more information please check:
43 L<http://tangent.org/552/libmemcached.html>
47 Brian Aker, E<lt>brian@tangent.orgE<gt>
51 memcached(1) libmemcached(3) memcached_strerror(3)