al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
qsortFormat#include <string.h> void qsort (void *base, size_t num, size_t width, int (*compare)(const void *, const void *)); Arguments
None What This Function Does It sort the array pointed to by base in ascending order with respect to the comparison function. The compare argument points to a comparison function created by the user: int compare ((type *) elem1, (type *) elem2);Note that (type *) is an optional type. The value returned by the comparison function is less than zero, equal to zero, or greater than zero depending on whether elem1 is less than, equal to, or greater than elem2. Note This standard function comes with NuSystem.
|