Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

memcached_strerror(3) [debian man page]

MEMCACHED_STRERROR(3)						   libmemcached 					     MEMCACHED_STRERROR(3)

NAME
memcached_strerror - libmemcached Documentation SYNOPSIS
#include <libmemcached/memcached.h> const char * memcached_strerror(memcached_st *ptr, memcached_return_t rc) Compile and link with -lmemcached DESCRIPTION
memcached_strerror() takes a memcached_return_t value and returns a string describing the error. This string must not be modified by the application. memcached_return_t values are returned from nearly all libmemcached(3) functions. memcached_return_t values are of an enum type so that you can set up responses with switch/case and know that you are capturing all possi- ble return values. RETURN
memcached_strerror() returns a string describing a memcached_return_t value. HOME
To find out more information please check: http://libmemcached.org/ SEE ALSO
memcached(1) libmemcached(3) AUTHOR
Brian Aker COPYRIGHT
2011, Brian Aker DataDifferential, http://datadifferential.com/ 1.0.8 May 22, 2012 MEMCACHED_STRERROR(3)

Check Out this Related Man Page

MEMCACHED_DUMP(3)						   libmemcached 						 MEMCACHED_DUMP(3)

NAME
memcached_dump - libmemcached Documentation Get a list of keys found on memcached servers SYNOPSIS
#include <libmemcached/memcached.h> memcached_return_t memcached_dump(memcached_st *ptr, memcached_dump_fn *function, void *context, uint32_t number_of_callbacks) memcached_return_t (*memcached_dump_fn)(memcached_st *ptr, const char *key, size_t key_length, void *context) Compile and link with -lmemcached DESCRIPTION
memcached_dump() is used to get a list of keys found in memcached(1) servers. Because memcached(1) does not guarentee to dump all keys you can not assume you have fetched all keys from the server. The function takes an array of callbacks that it will use to execute on keys as they are found. Currently the binary protocol is not testsed. RETURN
A value of type memcached_return_t is returned On success that value will be MEMCACHED_SUCCESS. Use memcached_strerror() to translate this value to a printable string. HOME
To find out more information please check: http://libmemcached.org/ AUTHOR
Brian Aker, <brian@tangent.org> SEE ALSO
memcached(1) libmemcached(3) memcached_strerror(3) AUTHOR
Brian Aker COPYRIGHT
2011, Brian Aker DataDifferential, http://datadifferential.com/ 1.0.8 May 22, 2012 MEMCACHED_DUMP(3)
Man Page

We Also Found This Discussion For You

1. Shell Programming and Scripting

Returning and capturing multiple return values from a function

Hi I am pretty confused in returning and capturing multiple values i have defined a function which should return values "total, difference" i have used as #!/usr/bin/ksh calc() { total=$1+$2 echo "$total" diff=$2-$1 echo "$diff" } I have invoked this function as calc 5 8 Now i... (2 Replies)
Discussion started by: Priya Amaresh
2 Replies