#include #include #include "../memcache-lite.h" int main() { int ret = 0; const char path[] = "/tmp/socket"; memcache_state_t *state; state = memcache_initialize(); memcache_connect(state, path); ret = memcache_del(state, "test", 0); if (ret != 0) printf("not deleted\n"); else printf("deleted\n"); memcache_destroy(state); return 0; }