# Synopsis

(macro) void pdx_Qsort(void *base_element, long num_of_elements, int element_size, void (*func_ptr)())

# Purpose

System independent version of system qsort

# Description

This macro provides a portable way of calling the system qsort function. The parameters are cast to the correct type dependent on the system. See the system qsort function for a description of the parameters

# Input

## base_element

The pointer to the base element to be sorted

## num_of_elements

The number of array elements

## element_size

The sizeof element size

## func_ptr

The function pointer to be used for the base element comparison