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_FLUSH_BUFFERS(3) libmemcached MEMCACHED_FLUSH_BUFFERS(3)NAME
memcached_flush_buffers - libmemcached Documentation
Flush and senf buffered commands
SYNOPSIS
#include <libmemcached/memcached.h>
memcached_return_t memcached_flush_buffers(memcached_st *ptr)
Compile and link with -lmemcached
DESCRIPTION
memcached_flush_buffers() is used in conjunction with MEMCACHED_BEHAVIOR_BUFFER_REQUESTS (see memcached_behavior(3)) to flush all buffers
by sending the buffered commands to the server for processing.
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>
Trond Norbye, <trond.norbye@gmail.com>
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_FLUSH_BUFFERS(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)