]>
git.saurik.com Git - redis.git/blob - pqsort.h
1 /* The following is the NetBSD libc qsort implementation modified in order to
2 * support partial sorting of ranges for Redis.
4 * Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved.
6 * See the pqsort.c file for the original copyright notice. */
12 pqsort(void *a
, size_t n
, size_t es
,
13 int (*cmp
) (const void *, const void *), size_t lrange
, size_t rrange
);