Mbed TLS v4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
error.h File Reference

Error to string translation. More...

#include "mbedtls/build_info.h"
#include "mbedtls/private/error_common.h"
#include <stddef.h>
Include dependency graph for error.h:

Go to the source code of this file.

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. More...
 

Detailed Description

Error to string translation.

Definition in file error.h.

Function Documentation

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
errnumerror code
bufferbuffer to place representation in
buflenlength of the buffer