.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MEMCACHED_STRERROR" "3" "Mar 11, 2024" "1.1" "libmemcached-awesome" .SH NAME memcached_strerror \- libmemcached Documentation .SH SYNOPSIS .INDENT 0.0 .TP .B #include Compile and link with \-lmemcached .UNINDENT .INDENT 0.0 .TP .B const char *memcached_strerror(\fI\%memcached_st\fP *ptr, \fI\%memcached_return_t\fP rc) .INDENT 7.0 .TP .B Parameters .INDENT 7.0 .IP \(bu 2 \fBptr\fP \-\- pointer to initialized \fI\%memcached_st\fP struct .IP \(bu 2 \fBrc\fP \-\- \fI\%memcached_return_t\fP value to query the string representation for .UNINDENT .TP .B Returns the string representation of \fI\%rc\fP .UNINDENT .UNINDENT .SH DESCRIPTION .sp \fI\%memcached_strerror()\fP takes a \fI\%memcached_return_t\fP value and returns a string describing the error. .sp This string must not be modified by the application. .sp \fI\%memcached_return_t\fP values are returned from nearly all libmemcached(3) functions. .sp \fI\%memcached_return_t\fP 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. .SH RETURN VALUE .sp \fI\%memcached_strerror()\fP returns a string describing a \fI\%memcached_return_t\fP value. .SH SEE ALSO .sp \fBmemcached(1)\fP \fBlibmemcached(3)\fP \fBmemcached_return_t\fP .\" Generated by docutils manpage writer. .