aboutsummaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 784cb63bfc5b..3e54b5feb6de 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -167,6 +167,14 @@ int at_quick_exit(void (*)(void)) __noexcept;
_Noreturn void
quick_exit(int) /* __noexcept -- not ready ABI issues? */;
#endif /* __ISO_C_VISIBLE >= 2011 */
+
+/*
+ * C23 extensions
+ */
+#if __ISO_C_VISIBLE >= 2023
+size_t memalignment(const void *) __pure2;
+#endif /* __ISO_C_VISIBLE >= 2023 */
+
/*
* Extensions made by POSIX relative to C.
*/