1MEMCACHED_TOUCH(3) libmemcached MEMCACHED_TOUCH(3)
2
3
4
6 memcached_touch - libmemcached Documentation
7
9 #include <libmemcached/memcached.h>
10
11 memcached_return_t memcached_touch(memcached_st *ptr, const char *key,
12 size_t key_length, time_t expiration)
13
14 memcached_return_t memcached_touch_by_key(memcached_st *ptr, const
15 char *group_key, size_t group_key_length, const char *key,
16 size_t key_length, time_t expiration)
17
18 Compile and link with -lmemcached
19
21 memcached_touch() is used to update the expiration time on an existing
22 key. memcached_touch_by_key() works the same, but it takes a master
23 key to find the given value.
24
26 A value of type memcached_return_t is returned On success that value
27 will be MEMCACHED_SUCCESS. Use memcached_strerror() to translate this
28 value to a printable string.
29
31 To find out more information please check: http://libmemcached.org/
32
34 Brian Aker, <brian@tangent.org>
35
37 memcached(1) libmemcached(3) memcached_strerror(3)
38
40 Brian Aker
41
43 2011-2013, Brian Aker DataDifferential, http://datadifferential.com/
44
45
46
47
481.0.16 January 31, 2013 MEMCACHED_TOUCH(3)