1 .TH "MEMCACHED_EXIST_BY_KEY" "3" "October 18, 2011" "1.01" "libmemcached"
3 memcached_exist_by_key \- libmemcached Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
35 #include <libmemcached/memcached.h>
38 .B memcached_return_t memcached_exist(memcached_st\fI\ *ptr\fP, char\fI\ *key\fP, size_t\fI\ *key_length\fP)
42 .B memcached_return_t memcached_exist_by_key(memcached_st\fI\ *ptr\fP, char\fI\ *group_key\fP, size_t\fI\ *group_key_length\fP, char\fI\ *key\fP, size_t\fI\ *key_length\fP)
47 Compile and link with \-lmemcached
50 \fI\%memcached_exist()\fP can be used to check to see if a key exists. No value is returned if the key exists, or does not exist, on the server.
53 \fI\%memcached_exist()\fP sets error to
54 to \fBMEMCACHED_SUCCESS\fP upon finding that the key exists.
55 \fBMEMCACHED_NOTFOUND\fP will be return if the key is not found.
58 To find out more information please check:
59 \fI\%http://libmemcached.org/\fP
62 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
66 2011, Brian Aker DataDifferential, http://datadifferential.com/
67 .\" Generated by docutils manpage writer.