40int intCmp(
const void *a,
const void *b);
58int ptrCmp(
const void *a,
const void *b);
Collection of useful types.
char * spec_t
Used to specify type of argument passed in functions that require a type specifier.
Definition: types.h:20
int chooseCmp(const spec_t spec, const void *a, const void *b)
Compare two values.
int doubleCmp(const void *a, const void *b)
Compare two doubles.
void * saferRealloc(void *pointer, unsigned int bytes)
Reallocate a space in memory.
int byteCmp(const void *a, const void *b)
Compare two bytes.
int floatCmp(const void *a, const void *b)
Compare two floats.
int charCmp(const void *a, const void *b)
Compare two chars.
int intCmp(const void *a, const void *b)
Compare two ints.
void * saferMalloc(unsigned int bytes)
Return a pointer to a space in memory of specified size.
int ptrCmp(const void *a, const void *b)
Compare two pointers.