tiny_strerror.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 ML!PA Consulting GmbH
3  * 2022 Otto-von-Guericke-Universität Magdeburg
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
10 #pragma once
11 
46 #include <errno.h>
47 #include <string.h>
48 
49 #ifdef __cplusplus
50 extern "C" {
51 #endif
52 
75 const char *tiny_strerror(int errnum);
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
const char * tiny_strerror(int errnum)
Get the name of an errno macro.