Changeset View
Changeset View
Standalone View
Standalone View
include/stdlib.h
Show First 20 Lines • Show All 291 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
int l64a_r(long, char *, int); | int l64a_r(long, char *, int); | ||||
int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); | int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); | ||||
#ifdef __BLOCKS__ | #ifdef __BLOCKS__ | ||||
int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *)); | int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *)); | ||||
#endif | #endif | ||||
int mkostemp(char *, int); | int mkostemp(char *, int); | ||||
int mkostemps(char *, int, int); | int mkostemps(char *, int, int); | ||||
void qsort_r(void *, size_t, size_t, void *, | void qsort_r(void *, size_t, size_t, | ||||
int (*)(void *, const void *, const void *)); | int (*)(const void *, const void *, void *), void *); | ||||
int radixsort(const unsigned char **, int, const unsigned char *, | int radixsort(const unsigned char **, int, const unsigned char *, | ||||
unsigned); | unsigned); | ||||
void *reallocarray(void *, size_t, size_t) __result_use_check | void *reallocarray(void *, size_t, size_t) __result_use_check | ||||
__alloc_size2(2, 3); | __alloc_size2(2, 3); | ||||
void *reallocf(void *, size_t) __result_use_check __alloc_size(2); | void *reallocf(void *, size_t) __result_use_check __alloc_size(2); | ||||
int rpmatch(const char *); | int rpmatch(const char *); | ||||
void setprogname(const char *); | void setprogname(const char *); | ||||
int sradixsort(const unsigned char **, int, const unsigned char *, | int sradixsort(const unsigned char **, int, const unsigned char *, | ||||
unsigned); | unsigned); | ||||
void sranddev(void); | void sranddev(void); | ||||
void srandomdev(void); | void srandomdev(void); | ||||
long long | long long | ||||
strtonum(const char *, long long, long long, const char **); | strtonum(const char *, long long, long long, const char **); | ||||
/* Deprecated interfaces, to be removed. */ | /* Deprecated interfaces, to be removed. */ | ||||
__int64_t | __int64_t | ||||
strtoq(const char *, char **, int); | strtoq(const char *, char **, int); | ||||
__uint64_t | __uint64_t | ||||
strtouq(const char *, char **, int); | strtouq(const char *, char **, int); | ||||
extern char *suboptarg; /* getsubopt(3) external variable */ | extern char *suboptarg; /* getsubopt(3) external variable */ | ||||
#endif /* __BSD_VISIBLE */ | #endif /* __BSD_VISIBLE */ | ||||
emaste: Maybe we should call it the "historical FreeBSD qsort_r" or BSD qsort_r? To give some context… | |||||
#if __EXT1_VISIBLE | #if __EXT1_VISIBLE | ||||
#ifndef _ERRNO_T_DEFINED | #ifndef _ERRNO_T_DEFINED | ||||
#define _ERRNO_T_DEFINED | #define _ERRNO_T_DEFINED | ||||
typedef int errno_t; | typedef int errno_t; | ||||
#endif | #endif | ||||
Show All 16 Lines |
Maybe we should call it the "historical FreeBSD qsort_r" or BSD qsort_r? To give some context for what the scope of the change is/was.