From 515d54433138596e81267237542bd9168b8cc787 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 7 Nov 2011 09:24:30 +0100 Subject: stdlib: add qsort_r GNU extension like qsort but takes a 3 parameter comparision function. Signed-off-by: Bernhard Reutner-Fischer --- libc/stdlib/qsort_r.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 libc/stdlib/qsort_r.c (limited to 'libc/stdlib/qsort_r.c') diff --git a/libc/stdlib/qsort_r.c b/libc/stdlib/qsort_r.c new file mode 100644 index 000000000..1db270e62 --- /dev/null +++ b/libc/stdlib/qsort_r.c @@ -0,0 +1,7 @@ +/* Copyright (C) 2004-2006 Manuel Novoa III + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_qsort_r +#include "stdlib.c" -- cgit v1.2.3