Signed-off-by: Alejandro Colomar <alx@kernel.org>
string/strdup/strndupa.h \
string/strdup/strndup.c \
string/strdup/strndup.h \
+ string/strerrno.c \
+ string/strerrno.h \
string/strftime.c \
string/strftime.h \
string/strspn/stpspn.c \
--- /dev/null
+// SPDX-FileCopyrightText: 2025, Alejandro Colomar <alx@kernel.org>
+// SPDX-License-Identifier: BSD-3-Clause
+
+
+#include "config.h"
+
+#include "string/strerrno.h"
--- /dev/null
+// 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