qsort_r() conforms to which standards?

Matt Turner mattst88@gmail.com
Mon Oct 31 22:19:00 GMT 2011


On Mon, Oct 31, 2011 at 7:42 AM, Mark R Bannister
<mark@proseconsulting.co.uk> wrote:
> Hi,
>
> Can someone help re qsort_r()?  I've added notes regarding it to the qsort(3) man
> page:
>
> http://article.gmane.org/gmane.linux.man/2397
>
> However, does anyone know what standards does it conform to?  (I've seen other
> versions of qsort_r() with the arguments the other way around).
>
> Thanks,
> Mark Bannister.

The second google result for 'qsort_r' took me to this,
http://stackoverflow.com/questions/4300896/how-portable-is-the-re-entrant-qsort-r-function-compared-to-qsort

which I found helpful.

Matt



More information about the Libc-help mailing list