diff options
author | Robert Mustacchi <rm@fingolfin.org> | 2020-09-11 22:06:27 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2020-09-23 08:49:23 -0700 |
commit | 44431c82ebd7ee1d7c240683235e728d70d96cf2 (patch) | |
tree | 5ad1901f2986dc8d7bcf6b06b90a729393eef1ce /usr/src/head | |
parent | 6e3b881e3444c3c501e8fe27050bc8439c0f4904 (diff) | |
download | illumos-joyent-44431c82ebd7ee1d7c240683235e728d70d96cf2.tar.gz |
3763 Implement qsort_r(3C)
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/head')
-rw-r--r-- | usr/src/head/stdlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/head/stdlib.h b/usr/src/head/stdlib.h index 337311a978..37dfbe6a3e 100644 --- a/usr/src/head/stdlib.h +++ b/usr/src/head/stdlib.h @@ -311,7 +311,7 @@ extern char *ulltostr(unsigned long long, char *); #endif /* defined(__EXTENSIONS__) || !defined(_STRICT_STDC) ... */ -/* OpenBSD compatibility functions */ +/* OpenBSD and misc. compatibility functions */ #if !defined(_STRICT_SYMBOLS) #include <inttypes.h> @@ -324,6 +324,8 @@ extern void *recallocarray(void *, size_t, size_t, size_t); extern long long strtonum(const char *, long long, long long, const char **); extern void *reallocf(void *, size_t); +extern void qsort_r(void *, size_t, size_t, + int (*)(const void *, const void *, void *), void *); #endif /* !_STRICT_SYBMOLS */ |