/*
- * procps_pids_stacks_sort():
+ * procps_pids_sort():
*
* Sort stacks anchored in the passed pids_stack pointers array
* based on the designated sort enumerator and specified order.
*
* Note: all of the stacks must be homogeneous (of equal length and content).
*/
-PROCPS_EXPORT struct pids_stack **procps_pids_stacks_sort (
+PROCPS_EXPORT struct pids_stack **procps_pids_sort (
struct procps_pidsinfo *info,
struct pids_stack *stacks[],
int numstacked,
qsort_r(stacks, numstacked, sizeof(void *), (QSR_t)Item_table[p->item].sortfunc, &parms);
return stacks;
-} // end: procps_pids_stacks_sort
+} // end: procps_pids_sort
PROCPS_EXPORT int procps_pids_unref (
int maxthese,
enum pids_fill_type which);
-struct pids_stack **procps_pids_stacks_sort (
+struct pids_stack **procps_pids_sort (
struct procps_pidsinfo *info,
struct pids_stack *stacks[],
int numstacked,