X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fsource%2Flibmemcached%2Fmemcached_auto.rst;h=03ed8bad2ae0cc8ed91188665198f2c09f81a4ae;hb=e1833e25ab4a98f9a3f9f9268185af57b2280eaf;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..03ed8bad 100644 --- a/docs/source/libmemcached/memcached_auto.rst +++ b/docs/source/libmemcached/memcached_auto.rst @@ -9,7 +9,7 @@ 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 +28,10 @@ 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,17 +68,14 @@ 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 --------