Files
semi-libc/include
Érico NogueiraandRich Felker b76f37fd56 add qsort_r and make qsort a wrapper around it
we make qsort a wrapper by providing a wrapper_cmp function that uses
the extra argument as a function pointer. should be optimized to a tail
call on most architectures, as long as it's built with
-fomit-frame-pointer, so the performance impact should be minimal.

to keep the git history clean, for now qsort_r is implemented in qsort.c
and qsort is implemented in qsort_nr.c.  qsort.c also received a few
trivial cleanups, including replacing (*cmp)() calls with cmp().
qsort_nr.c contains only wrapper_cmp and qsort as a qsort_r wrapper
itself.
2021-09-23 20:09:22 -04:00
..
2013-07-03 18:07:50 +02:00
2012-05-06 16:35:32 -04:00
2016-08-30 16:39:54 -04:00
2011-02-12 00:22:29 -05:00
2021-02-25 16:35:54 -05:00
2012-09-08 18:16:33 -04:00
2011-02-12 00:22:29 -05:00
2014-06-21 19:24:15 -04:00
2011-02-14 21:59:38 -05:00
2012-05-06 16:35:32 -04:00
2011-02-12 00:22:29 -05:00
2021-04-20 15:34:30 -04:00
2011-02-12 00:22:29 -05:00
2019-08-30 16:21:36 -04:00
2018-06-26 16:59:12 -04:00
2014-07-31 02:38:23 -04:00
2011-04-05 15:40:36 -04:00
2019-03-13 10:42:57 -04:00
2011-02-12 00:22:29 -05:00
2013-01-04 20:36:34 +01:00