X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_strerror.pod;h=8386c312c383f20c6f83697b6905b979a384e1f1;hb=a246ac50a88e4af750fd2dd209eff94dcadf72d2;hp=7403685a2f92c463f814eab58b6c2ef02daef0d0;hpb=42607993d9f6352e0c369a073d7345493ec26b25;p=m6w6%2Flibmemcached diff --git a/docs/memcached_strerror.pod b/docs/memcached_strerror.pod index 7403685a..8386c312 100644 --- a/docs/memcached_strerror.pod +++ b/docs/memcached_strerror.pod @@ -10,24 +10,25 @@ 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