« blib/lib/Memcached/libmemcached/memcached_stats.pm
↑ Summary
blib/lib/Memcached/libmemcached/memcached_user_data.pm »
| 1 | package Memcached::libmemcached::memcached_strerror; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | memcached_strerror - Get error string | ||
| 6 | |||
| 7 | =head1 LIBRARY | ||
| 8 | |||
| 9 | C Client Library for memcached (libmemcached, -lmemcached) | ||
| 10 | |||
| 11 | =head1 SYNOPSIS | ||
| 12 | |||
| 13 | #include <memcached.h> | ||
| 14 | |||
| 15 | const char * | ||
| 16 | memcached_strerror (memcached_st *ptr, | ||
| 17 | memcached_return_t rc); | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | memcached_strerror() takes a C<memcached_return_t> value and returns a string | ||
| 22 | describing the error. | ||
| 23 | |||
| 24 | This string must not be modified by the application. | ||
| 25 | |||
| 26 | C<memcached_return_t> values are returned from nearly all libmemcached(3) functions. | ||
| 27 | |||
| 28 | C<memcached_return_t> values are of an enum type so that you can set up responses | ||
| 29 | with switch/case and know that you are capturing all possible return values. | ||
| 30 | |||
| 31 | =head1 RETURN | ||
| 32 | |||
| 33 | memcached_strerror() returns a string describing a C<memcached_return_t> value. | ||
| 34 | |||
| 35 | =head1 HOME | ||
| 36 | |||
| 37 | To find out more information please check: | ||
| 38 | L<https://launchpad.net/libmemcached> | ||
| 39 | |||
| 40 | =head1 AUTHOR | ||
| 41 | |||
| 42 | Brian Aker, E<lt>brian@tangent.orgE<gt> | ||
| 43 | |||
| 44 | =head1 SEE ALSO | ||
| 45 | |||
| 46 | memcached(1) libmemcached(3) | ||
| 47 | |||
| 48 | =cut | ||
| 49 | |||
| 50 | 1 | 1; |