X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fsource%2Flibmemcached%2Fmemcached_auto.rst;h=1171393d04f0260c8d6c8d2522550e18f407ec19;hb=90bb4fb5810353d35ce5575caa3b0a2139e3f4a1;hp=e4f27c51abc4b3c2a29fd1110db7e9f5ebaedd91;hpb=28c4d79e109e11d7d2a9f3189de57da28302ec68;p=m6w6%2Flibmemcached diff --git a/docs/source/libmemcached/memcached_auto.rst b/docs/source/libmemcached/memcached_auto.rst index e4f27c51..1171393d 100644 --- a/docs/source/libmemcached/memcached_auto.rst +++ b/docs/source/libmemcached/memcached_auto.rst @@ -1,15 +1,13 @@ -==================================== Incrementing and Decrementing Values ==================================== .. index:: object: memcached_st --------- SYNOPSIS -------- #include - + .. function:: memcached_return_t memcached_increment (memcached_st *ptr, const char *key, size_t key_length, uint32_t offset, uint64_t *value) .. function:: memcached_return_t memcached_decrement (memcached_st *ptr, const char *key, size_t key_length, uint32_t offset, uint64_t *value) @@ -28,12 +26,9 @@ SYNOPSIS Compile and link with -lmemcached - ------------ DESCRIPTION ----------- - :manpage:`memcached(1)` servers have the ability to increment and decrement keys (overflow and underflow are not detected). This gives you the ability to use memcached to generate shared sequences of values. @@ -70,18 +65,13 @@ when using the binary protocol. :func:`memcached_increment_with_initial_by_key`, and :func:`memcached_decrement_with_initial_by_key` are master key equivalents of the above. - ------- RETURN ------ - A value of type :type:`memcached_return_t` is returned. On success that value will be `MEMCACHED_SUCCESS`. Use memcached_strerror to translate this value to a printable string. - --------- SEE ALSO --------