definition of qsort

All I can find is the declaration in stdlib.h (usr/include/stdlib.h in
Ubuntu)

I want to see the body of the function.
qsort() is part of the C library. Ubuntu uses glibc, so look at glibc source code: http://sourceware.org/git/?p=glibc.git;a=blob;f=stdlib/qsort.c;h=ccbdccc7b51f8a8e88ee960944ce417a3b529308;hb=HEAD
Topic archived. No new replies allowed.