| Rev | Author | # | Line |
|---|---|---|---|
| 1 | perry | 1 | !!!QSORT |
| 2 | JohnMcPherson | 2 | |
| 1 | perry | 3 | ---- |
| 4 | !!NAME | ||
| 5 | |||
| 6 | |||
| 7 | qsort - sorts an array | ||
| 2 | JohnMcPherson | 8 | |
| 1 | perry | 9 | !!SYNOPSIS |
| 10 | |||
| 2 | JohnMcPherson | 11 | __#include <stdlib.h>__ |
| 12 | __void qsort__( __void__ *''base'', __size_t__ ''nmemb'', __size_t__ ''size'', | ||
| 13 | __int__ (*''compar'')(__const void__ *, __const void__ *)); | ||
| 1 | perry | 14 | |
| 15 | !!DESCRIPTION | ||
| 16 | |||
| 17 | |||
| 18 | The __qsort()__ function sorts an array with ''nmemb'' | ||
| 19 | elements of size ''size''. The ''base'' argument | ||
| 20 | points to the start of the array. | ||
| 21 | |||
| 22 | |||
| 23 | The contents of the array are sorted in ascending order | ||
| 24 | according to a comparison function pointed to by | ||
| 25 | ''compar'', which is called with two arguments that point | ||
| 26 | to the objects being compared. | ||
| 27 | |||
| 28 | |||
| 29 | The comparison function must return an integer less than, | ||
| 30 | equal to, or greater than zero if the first argument is | ||
| 31 | considered to be respectively less than, equal to, or | ||
| 32 | greater than the second. If two members compare as equal, | ||
| 33 | their order in the sorted array is undefined. | ||
| 34 | !!RETURN VALUE | ||
| 35 | |||
| 36 | |||
| 37 | The __qsort()__ function returns no value. | ||
| 38 | !!CONFORMING TO | ||
| 39 | |||
| 40 | |||
| 2 | JohnMcPherson | 41 | SVID 3, [POSIX], [BSD] 4.3, [ISO] 9899 |
| 1 | perry | 42 | !!SEE ALSO |
| 43 | |||
| 44 | |||
| 45 | sort(1) | ||
| 46 | ---- |
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)