1 .TH "MEMCACHED_TOUCH_BY_KEY" "3" "March 14, 2012" "1.0.5" "libmemcached"
3 memcached_touch_by_key \- libmemcached Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
35 #include <libmemcached/memcached.h>
38 .B memcached_return_t memcached_touch(memcached_st\fI\ *ptr\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
42 .B memcached_return_t memcached_touch_by_key(memcached_st\fI\ *ptr\fP, const char\fI\ *group_key\fP, size_t\fI\ group_key_length\fP, const char\fI\ *key\fP, size_t\fI\ key_length\fP, time_t\fI\ expiration\fP)
45 Compile and link with \-lmemcached
48 \fI\%memcached_touch()\fP is used to update the expiration time on an existing key.
49 \fI\%memcached_touch_by_key()\fP works the same, but it takes a master key
50 to find the given value.
53 A value of type \fBmemcached_return_t\fP is returned
54 On success that value will be \fBMEMCACHED_SUCCESS\fP.
55 Use \fBmemcached_strerror()\fP to translate this value to a printable
59 To find out more information please check:
60 \fI\%http://libmemcached.org/\fP
63 Brian Aker, <\fI\%brian@tangent.org\fP>
66 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
70 2011, Brian Aker DataDifferential, http://datadifferential.com/
71 .\" Generated by docutils manpage writer.