File: memcached_strerror.pm

package info (click to toggle)
libmemcached-libmemcached-perl 1.001801%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 916 kB
  • sloc: perl: 1,677; makefile: 22
file content (50 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package Memcached::libmemcached::memcached_strerror;

=head1 NAME

memcached_strerror - Get error string

=head1 LIBRARY

C Client Library for memcached (libmemcached, -lmemcached)

=head1 SYNOPSIS

  #include <memcached.h>

  const char *
    memcached_strerror (memcached_st *ptr,
                        memcached_return_t rc);

=head1 DESCRIPTION

memcached_strerror() takes a C<memcached_return_t> value and returns a string
describing the error.

This string must not be modified by the application.

C<memcached_return_t> values are returned from nearly all libmemcached(3) functions.

C<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 possible return values.

=head1 RETURN

memcached_strerror() returns a string describing a C<memcached_return_t> value.

=head1 HOME

To find out more information please check:
L<https://launchpad.net/libmemcached>

=head1 AUTHOR

Brian Aker, E<lt>brian@tangent.orgE<gt>

=head1 SEE ALSO

memcached(1) libmemcached(3)

=cut

1;