mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
LibC: Add POSIX spec comments for qsort
This commit is contained in:
parent
e9c46a23c8
commit
6db9b6cf79
Notes:
sideshowbarker
2024-07-17 22:25:49 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/6db9b6cf792 Pull-request: https://github.com/SerenityOS/serenity/pull/11359
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue