-========================
Working with result sets
========================
---------
SYNOPSIS
--------
Compile and link with -lmemcachedutil -lmemcached
-
-
------------
DESCRIPTION
-----------
-
-libmemcached(3) can optionally return a :type:`memcached_result_st` which
+libmemcached(3) can optionally return a :type:`memcached_result_st` which
acts as a result object. The result objects have added benefits over the
character pointer returns, in that they are forward compatible with new
return items that future memcached servers may implement (the best current
:func:`memcached_result_key_value` returns the key value associated with the
current result object.
-:func:`memcached_result_key_length` returns the key length associated with
+:func:`memcached_result_key_length` returns the key length associated with
the current result object.
:func:`memcached_result_value` returns the result value associated with the
value, unless you have made use of a custom allocator. Use of a custom
allocator requires that you create your own custom free() to release it.
-:func:`memcached_result_length` returns the result length associated with
+:func:`memcached_result_length` returns the result length associated with
the current result object.
:func:`memcached_result_flags` returns the flags associated with the
stack based allocation. The most common issues related to ABI safety involve
heap allocated structures.
-
-------
RETURN
------
-
Varies, see particular functions. All structures must have
:func:`memcached_result_free` called on them for cleanup purposes. Failure
to do this will result in leaked memory.
-
-
---------
SEE ALSO
--------