diff options
author | David Chisnall <theraven@FreeBSD.org> | 2014-04-02 16:07:48 +0000 |
---|---|---|
committer | David Chisnall <theraven@FreeBSD.org> | 2014-04-02 16:07:48 +0000 |
commit | 46cdc14062f7b52d86bd3791220019ebc8c9c120 (patch) | |
tree | 6b79951e49825ea224053fd3b29a53481afa5e00 /include/stdlib.h | |
parent | cfc4b56b571f75e9b13eda2756bbd72a0c187a7a (diff) | |
download | src-test2-46cdc14062f7b52d86bd3791220019ebc8c9c120.tar.gz src-test2-46cdc14062f7b52d86bd3791220019ebc8c9c120.zip |
Notes
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 3ed07f398b47..4aa372becb46 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -82,6 +82,9 @@ extern int ___mb_cur_max(void); _Noreturn void abort(void); int abs(int) __pure2; int atexit(void (*)(void)); +#ifdef __BLOCKS__ +int atexit_b(void (^)(void)); +#endif double atof(const char *); int atoi(const char *); long atol(const char *); @@ -100,6 +103,10 @@ size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t); int mbtowc(wchar_t * __restrict, const char * __restrict, size_t); void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); +#ifdef __BLOCKS__ +void qsort_b(void *, size_t, size_t, + int (^)(const void *, const void *)); +#endif int rand(void); void *realloc(void *, size_t); void srand(unsigned); @@ -280,8 +287,14 @@ const char * getprogname(void); int heapsort(void *, size_t, size_t, int (*)(const void *, const void *)); +#ifdef __BLOCKS__ +int heapsort_b(void *, size_t, size_t, int (^)(const void *, const void *)); +#endif int l64a_r(long, char *, int); int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); +#ifdef __BLOCKS__ +int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *)); +#endif int mkostemp(char *, int); int mkostemps(char *, int, int); void qsort_r(void *, size_t, size_t, void *, |