1..::docs::memcached_delete(3)    libmemcached    ..::docs::memcached_delete(3)
2
3
4

NAME

6       memcached_delete - Delete a key
7

LIBRARY

9       C Client Library for memcached (libmemcached, -lmemcached)
10

SYNOPSIS

12         #include <memcached.h>
13
14         memcached_return
15           memcached_delete (memcached_st *ptr,
16                             const char *key, size_t key_length,
17                             time_t expiration);
18
19         memcached_return
20         memcached_delete_by_key (memcached_st *ptr,
21                                  const char *master_key, size_t master_key_length,
22                                  const char *key, size_t key_length,
23                                  time_t expiration);
24

DESCRIPTION

26       memcached_delete() is used to delete a particular key. An expiration
27       value can be applied so that the key is deleted after that many
28       seconds.  memcached_delete_by_key() works the same, but it takes a
29       master key to find the given value.
30

RETURN

32       A value of type "memcached_return" is returned On success that value
33       will be "MEMCACHED_SUCCESS".  Use memcached_strerror() to translate
34       this value to a printable string.
35
36       If you are using the non-blocking mode of the library, success only
37       means that the message was queued for delivery.
38

HOME

40       To find out more information please check:
41       <http://tangent.org/552/libmemcached.html>
42

AUTHOR

44       Brian Aker, <brian@tangent.org>
45

SEE ALSO

47       memcached(1) libmemcached(3) memcached_strerror(3)
48
49
50
51                                  2009-05-20     ..::docs::memcached_delete(3)
Impressum