[libc-commits] [libc] [libc] Add the `<endian.h>` header. (PR #125168)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed Feb 5 09:48:12 PST 2025


================
@@ -0,0 +1,8 @@
+macros:
+  LITTLE_ENDIAN:
+    in-latest-posix: ''
+  BIG_ENDIAN:
+    in-latest-posix: ''
+  BYTE_ORDER:
+    in-latest-posix: ''
+
----------------
nickdesaulniers wrote:

Do you mind stubbing out the rest of the functions listed at https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/endian.h.html? Otherwise, we will render a doc where it looks like our implementation of endian.h is complete; it's not, since we don't have the functions defined. That way, folks know what to expect, and can find more places to contribute.

https://github.com/llvm/llvm-project/pull/125168


More information about the libc-commits mailing list