table of contents
MEMCACHED_EXIST_BY_KEY(3) | libmemcached-awesome | MEMCACHED_EXIST_BY_KEY(3) |
NAME¶
memcached_exist_by_key - libmemcached Documentation
SYNOPSIS¶
- #include <libmemcached/memcached.h>
- Compile and link with -lmemcached
- ptr -- pointer to an initialized memcached_st struct
- group_key -- the key namespace
- group_key_length -- length of the group_key without any terminating zero
- key -- the key to check
- 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¶
November 12, 2021 | 1.1 |