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/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/errno.h')
-rw-r--r--include/errno.h 3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index 93f5f6ec..0361b33a 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -9,6 +9,9 @@ extern "C" {
#include <bits/errno.h>
+#ifdef __GNUC__
+__attribute__((const))
+#endif
int *__errno_location(void);
#define errno (*__errno_location())
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 13:46:09 +0000

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