From 6db9b6cf792f8967b3ae7867b36db60d077a37ed Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Mon, 20 Dec 2021 01:29:46 -0800 Subject: [PATCH] LibC: Add POSIX spec comments for qsort --- Userland/Libraries/LibC/qsort.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibC/qsort.cpp b/Userland/Libraries/LibC/qsort.cpp index 70051858887..6425f6bbcbf 100644 --- a/Userland/Libraries/LibC/qsort.cpp +++ b/Userland/Libraries/LibC/qsort.cpp @@ -59,6 +59,7 @@ private: size_t m_element_size; }; +// https://pubs.opengroup.org/onlinepubs/9699919799/functions/qsort.html void qsort(void* bot, size_t nmemb, size_t size, int (*compar)(const void*, const void*)) { if (nmemb <= 1) {