carta
memcached_last_error(3)

memcached_last_error3

Libmemcached documentation

Overview

Retrieve error codes and messages.

Return value

memcached_last_error() returns the last error code.

memcached_last_error_message() returns the last error message. If this error came from a specific server, its hostname and port will be provided in the error message. Any error message will be returned as 'const char *' which does not need to be de-allocated. NULL will be returned if no error has occurred.

memcached_last_error_errno() returns any last local error code obtained from errno(3) <https://linux.die.net/man/3/errno>.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)

From libmemcached-awesome 1.1.4-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.