.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)qsort.3 6.1 (Berkeley) %G%
.B subroutine qsort (array, len, isize, compar)
contains the elements to be sorted.
is the number of elements in the array.
is the size of an element, typically -
(length of character object) for
is the name of a user supplied integer*2 function
that will determine the sorting order.
This function will be called with 2 arguments that will be elements of
The function must return -
negative if arg 1 is considered to precede arg 2
zero if arg 1 is equivalent to arg 2
positive if arg 1 is considered to follow arg 2
On return, the elements of
.ie \nM /usr/ucb/lib/libU77.a