How can i use the qsort_s function in my c program?

66 Views Asked by At

I found qsort_s function in C Refenence, which can provide a another parameter, which offers context information, to the compare function that compared to the qsort function.
However, the signature of qsort_s function in the mingw64's(x86_64-13.2.0-release-win32-seh-ucrt-rt_v11-rev0) header file under my Win11 is different from that in C Reference. And I even can't find that function in Linux!
What can I do? Thanks.

I've check the C Reference and the ISO document, and qsort_s exists indeed in stdlib.h accroding to them.

0

There are 0 best solutions below