1 .TH "MEMCACHED_EXIST" "3" "April 28, 2012" "1.0.7" "libmemcached"
3 memcached_exist \- 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)
46 Compile and link with \-lmemcached
49 \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.
52 \fI\%memcached_exist()\fP sets error to
53 to \fBMEMCACHED_SUCCESS\fP upon finding that the key exists.
54 \fBMEMCACHED_NOTFOUND\fP will be return if the key is not found.
57 To find out more information please check:
58 \fI\%http://libmemcached.org/\fP
61 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
65 2011, Brian Aker DataDifferential, http://datadifferential.com/
66 .\" Generated by docutils manpage writer.