Sorting/ValueBased/straight-qsort.c File Reference

Straight Quicksort access to qsort() unix call. Simply invoke the underlying Unix qsort() library method to sort the value based array. More...

#include <sys/types.h>
#include <stdlib.h>

Functions

void sortValues (void *const pbase, size_t total_elems, size_t size, int(*cmp)(const void *, const void *))
 Sort the value-based array using built-in qsort() method.


Detailed Description

Straight Quicksort access to qsort() unix call. Simply invoke the underlying Unix qsort() library method to sort the value based array.

Author:
George Heineman
Date:
6/15/08

Function Documentation

void sortValues ( void *const   pbase,
size_t  total_elems,
size_t  size,
int(*)(const void *, const void *)  cmp 
)

Sort the value-based array using built-in qsort() method.

Algorithm Development Kit 1.0