tiny_strerror.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2021 ML!PA Consulting GmbH
3  * SPDX-FileCopyrightText: 2022 Otto-von-Guericke-Universität Magdeburg
4  * SPDX-License-Identifier: LGPL-2.1-only
5  */
6 
7 #pragma once
8 
43 #include <errno.h>
44 #include <string.h>
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
72 const char *tiny_strerror(int errnum);
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
const char * tiny_strerror(int errnum)
Get the name of an errno macro.