memcached_flush_buffers(3)

libmemcached Documentation

Section 3 libmemcached-dev bookworm source

Description

MEMCACHED_FLUSH_BUFFERS

NAME

memcached_flush_buffers - libmemcached Documentation

SYNOPSIS

#include <libmemcached/memcached.h>

Compile and link with -lmemcached

memcached_return_t memcached_flush_buffers(memcached_st *ptr)

Parameters

ptr -- pointer to initialized memcached_st struct

Returns

memcached_return_t indicating success

DESCRIPTION

memcached_flush_buffers() is used in conjunction with MEMCACHED_BEHAVIOR_BUFFER_REQUESTS to flush all buffers by sending the buffered commands to the server for processing.

RETURN VALUE

A value of 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

memcached(1) libmemcached(3) memcached_strerror(3) memcached_behavior(3)

See Also