cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
definition of qsort
definition of qsort
Jan 8, 2013 at 8:24pm UTC
divine fallacy
(34)
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.
Jan 8, 2013 at 8:36pm UTC
Cubbi
(4774)
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.