musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/errno.h')
-rw-r--r--src/include/errno.h 11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/errno.h b/src/include/errno.h
new file mode 100644
index 00000000..54a38ff4
--- /dev/null
+++ b/src/include/errno.h
@@ -0,0 +1,11 @@
+#ifndef ERRNO_H
+#define ERRNO_H
+
+#include "../../include/errno.h"
+
+hidden int *___errno_location(void);
+
+#undef errno
+#define errno (*___errno_location())
+
+#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月30日 12:14:01 +0000

AltStyle によって変換されたページ (->オリジナル) /