Files
shadow/lib/string/strerrno.h
2026-01-06 00:37:15 +01:00

20 lines
378 B
C

// SPDX-FileCopyrightText: 2025, Alejandro Colomar <alx@kernel.org>
// SPDX-License-Identifier: BSD-3-Clause
#ifndef SHADOW_INCLUDE_LIB_STRING_STRERRNO_H_
#define SHADOW_INCLUDE_LIB_STRING_STRERRNO_H_
#include "config.h"
#include <errno.h>
#include <string.h>
// strerrno - string errno
#define strerrno() ({(const char *){strerror(errno)};})
#endif // include guard