[libc-commits] [libc] stdlib.yaml: qsort_r() is in POSIX 2024 (aka issue 8). (PR #138572)

via libc-commits libc-commits at lists.llvm.org
Mon May 5 13:10:40 PDT 2025


https://github.com/enh-google created https://github.com/llvm/llvm-project/pull/138572

None

>From b1c67d073c25de2adf3142ab83e9ae0be1019f53 Mon Sep 17 00:00:00 2001
From: enh-google <enh at google.com>
Date: Mon, 5 May 2025 16:09:58 -0400
Subject: [PATCH] stdlib.yaml: qsort_r() is in POSIX 2024 (aka issue 8).

---
 libc/include/stdlib.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/include/stdlib.yaml b/libc/include/stdlib.yaml
index 5690a942e2570..61342234b7193 100644
--- a/libc/include/stdlib.yaml
+++ b/libc/include/stdlib.yaml
@@ -158,7 +158,7 @@ functions:
       - type: __qsortcompare_t
   - name: qsort_r
     standards:
-      - GNUExtensions
+      - posix
     return_type: void
     arguments:
       - type: void *



More information about the libc-commits mailing list