X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_strerror.pod;h=07801d8c99b4ae0477ec0fc2e322b5a2b3692618;hb=9a2e569b8d1b7bd4adf5aae7b73f3072fe2bfd7d;hp=7403685a2f92c463f814eab58b6c2ef02daef0d0;hpb=42607993d9f6352e0c369a073d7345493ec26b25;p=awesomized%2Flibmemcached diff --git a/docs/memcached_strerror.pod b/docs/memcached_strerror.pod index 7403685a..07801d8c 100644 --- a/docs/memcached_strerror.pod +++ b/docs/memcached_strerror.pod @@ -1,7 +1,7 @@ =head1 NAME memcached_strerror - Get error string - + =head1 LIBRARY C Client Library for memcached (libmemcached, -lmemcached) @@ -10,29 +10,30 @@ C Client Library for memcached (libmemcached, -lmemcached) #include - char *memcached_strerror (memcached_st *ptr, - memcached_return rc); + const char * + memcached_strerror (memcached_st *ptr, + memcached_return_t rc); =head1 DESCRIPTION -memcached_strerror() takes a C value and returns a string +memcached_strerror() takes a C value and returns a string describing the error. This string must not be modified by the application. -C values are returned from nearly all libmemcached(3) functions. +C values are returned from nearly all libmemcached(3) functions. -C values are of an enum type so that you can set up responses +C 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 value. +memcached_strerror() returns a string describing a C value. =head1 HOME To find out more information please check: -L +L =head1 AUTHOR