File error.h

Error to string translation.

Functions

void mbedtls_strerror(int errnum, char *buffer, size_t buflen)

Translate an Mbed TLS error code into a string representation. The result is truncated if necessary and always includes a terminating null byte.

Parameters:
  • errnum – error code

  • buffer – buffer to place representation in

  • buflen – length of the buffer