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_VERBOSITY(3) libmemcached MEMCACHED_VERBOSITY(3)NAME
memcached_verbosity - libmemcached Documentation
Modifiy verbosity of servers
SYNOPSIS
#include <libmemcached/memcached.h>
memcached_return_t memcached_verbosity(memcached_st *ptr, uint32_t verbosity)
Compile and link with -lmemcached
DESCRIPTION
memcached_verbosity() modifies the "verbosity" of the memcached(1) servers referenced in the memcached_st parameter.
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/
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_VERBOSITY(3)
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)