MEMCACHED_EXIST(3) libmemcached-awesome MEMCACHED_EXIST(3)
NAME
memcached_exist - libmemcached Documentation
SYNOPSIS
#include <libmemcached/memcached.h>
Compile and link with -lmemcached
memcached_return_t memcached_exist(memcached_st *ptr, char *key, size_t
*key_length)
memcached_return_t memcached_exist_by_key(memcached_st *ptr, char
*group_key, size_t *group_key_length, char *key, size_t *key_length)
Parameters
o ptr -- pointer to an initialized memcached_st struct
o group_key -- the key namespace
o group_key_length -- length of the group_key without any
terminating zero
o key -- the key to check
o key_length -- length of the key without any terminating
zero
Returns
memcached_return_t indicating success
New in version 0.53.
DESCRIPTION
memcached_exist() can be used to check if a key exists.
RETURN VALUE
MEMCACHED_SUCCESS
The key exists.
MEMCACHED_NOTFOUND
The key was not found.
SEE ALSO
memcached(1) libmemcached(3) memcached_strerror(3)
1.1 Mar 06, 2023 MEMCACHED_EXIST(3)
Czas wygenerowania: 0.00025 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2025 Linux.pl
Hosted by Hosting Linux.pl