]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFH r247014, r247050 and r247051.
authorkeramida <keramida@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Feb 2013 19:09:13 +0000 (19:09 +0000)
committerkeramida <keramida@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Feb 2013 19:09:13 +0000 (19:09 +0000)
commitb2ef4f10efce1845d80b7268b02e3014a7a5688d
tree0d0859835d336460ffbe35dad539c83dd6fac8e3
parenta63675b846a493cb04a8c268a83f93263bb20cd0
MFH r247014, r247050 and r247051.

Add a sample program that shows how a custom comparison function and
qsort(3) can work together to sort an array of integers.

PR:             docs/176197
Submitted by:   Fernando, fapesteguia at opensistemas.com
Christoph Mallon, christoph.mallon at gmx.de
Approved by:    gjb (mentor), remko (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@247276 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/stdlib/qsort.3