1 Flush and send buffered commands
2 ================================
7 #include <libmemcached/memcached.h>
8 Compile and link with -lmemcached
10 .. function:: memcached_return_t memcached_flush_buffers (memcached_st *ptr)
12 :param ptr: pointer to initialized `memcached_st` struct
13 :returns: `memcached_return_t` indicating success
18 :func:`memcached_flush_buffers` is used in conjunction with
19 `MEMCACHED_BEHAVIOR_BUFFER_REQUESTS` to flush all buffers by
20 sending the buffered commands to the server for processing.
25 A value of type :type:`memcached_return_t` is returned.
26 On success that value will be `MEMCACHED_SUCCESS`.
27 Use :func:`memcached_strerror` to translate this value to a printable string.
34 :manpage:`memcached(1)`
35 :manpage:`libmemcached(3)`
36 :manpage:`memcached_strerror(3)`
37 :manpage:`memcached_behavior(3)`
41 * :manpage:`memcached(1)`
42 * :doc:`../libmemcached`
43 * :doc:`memcached_strerror`
44 * :doc:`memcached_behavior`