X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_strerror.pod;h=64ef595785120f76b79d20e5738c3b1c86fc8ded;hb=0d39f7b5b66c33ea5eaa88bb469d0ce382bb24eb;hp=7403685a2f92c463f814eab58b6c2ef02daef0d0;hpb=42607993d9f6352e0c369a073d7345493ec26b25;p=awesomized%2Flibmemcached diff --git a/docs/memcached_strerror.pod b/docs/memcached_strerror.pod index 7403685a..64ef5957 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,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