Mbed TLS v4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
error.h
Go to the documentation of this file.
1 
6 /*
7  * Copyright The Mbed TLS Contributors
8  * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9  */
10 #ifndef MBEDTLS_ERROR_H
11 #define MBEDTLS_ERROR_H
12 
13 #include "mbedtls/build_info.h"
14 #include "mbedtls/private/error_common.h"
15 
16 #include <stddef.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
31 void mbedtls_strerror(int errnum, char *buffer, size_t buflen);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* error.h */
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 a...
Build-time configuration info.