tlds
Transactional Operations for Linked Data Structures
|
#include "sort.h"
Macros | |
#define | CUTOFF 8 |
Functions | |
static void | swap (char *a, char *b, unsigned width) |
static void | shortsort (char *lo, char *hi, unsigned width, int(*cmp)(const void *p1, const void *p2, long n, long offset), long n, long offset) |
void | sort (void *base, unsigned num, unsigned width, int(*cmp)(const void *p1, const void *p2, long n, long offset), long n, long offset) |
#define CUTOFF 8 |
|
static |
void sort | ( | void * | base, |
unsigned | num, | ||
unsigned | width, | ||
int(*)(const void *p1, const void *p2, long n, long offset) | cmp, | ||
long | n, | ||
long | offset | ||
) |
|
static |