X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Flibmemcached-1.0%2Fmemcached_touch.rst;h=76b015cb02ce4a3c065d8d7a7211ead0b6d913a2;hb=cfe08f8ecd0fd090430c417ac99999644041ba17;hp=7390dd14aaf547a670938a34e58a5f35c06273cc;hpb=7c12c89412585d136f8572f0ff3aee26427769de;p=m6w6%2Flibmemcached diff --git a/docs/libmemcached-1.0/memcached_touch.rst b/docs/libmemcached-1.0/memcached_touch.rst index 7390dd14..76b015cb 100644 --- a/docs/libmemcached-1.0/memcached_touch.rst +++ b/docs/libmemcached-1.0/memcached_touch.rst @@ -1,5 +1,5 @@ =========================================== -memcached_touch(), memcached_touch_by_key() +memcached_touch, memcached_touch_by_key =========================================== .. index:: object: memcached_st @@ -11,9 +11,9 @@ SYNOPSIS #include -.. c:function:: memcached_return_t memcached_touch (memcached_st *ptr, const char *key, size_t key_length, time_t expiration); +.. c:function:: memcached_return_t memcached_touch (memcached_st *ptr, const char *key, size_t key_length, time_t expiration) -.. c:function:: memcached_return_t memcached_touch_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration); +.. c:function:: memcached_return_t memcached_touch_by_key (memcached_st *ptr, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration) Compile and link with -lmemcached @@ -22,8 +22,8 @@ DESCRIPTION ----------- -:c:func:`memcached_touch()` is used to update the expiration time on an existing key. -:c:func:`memcached_touch_by_key()` works the same, but it takes a master key +:c:func:`memcached_touch` is used to update the expiration time on an existing key. +:c:func:`memcached_touch_by_key` works the same, but it takes a master key to find the given value. @@ -34,7 +34,7 @@ RETURN A value of type :c:type:`memcached_return_t` is returned On success that value will be :c:type:`MEMCACHED_SUCCESS`. -Use :c:func:`memcached_strerror()` to translate this value to a printable +Use :c:func:`memcached_strerror` to translate this value to a printable string. ----