mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 09:17:20 +00:00
16 lines
425 B
C
16 lines
425 B
C
/* The following is the NetBSD libc qsort implementation modified in order to
|
|
* support partial sorting of ranges for Redis.
|
|
*
|
|
* Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved.
|
|
*
|
|
* See the pqsort.c file for the original copyright notice. */
|
|
|
|
#ifndef __PQSORT_H
|
|
#define __PQSORT_H
|
|
|
|
void
|
|
pqsort(void *a, size_t n, size_t es,
|
|
int (*cmp) (const void *, const void *), size_t lrange, size_t rrange);
|
|
|
|
#endif
|