Changeset View
Changeset View
Standalone View
Standalone View
include/stdlib.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
#include <xlocale/_stdlib.h> | #include <xlocale/_stdlib.h> | ||||
#endif | #endif | ||||
extern int __mb_cur_max; | extern int __mb_cur_max; | ||||
extern int ___mb_cur_max(void); | extern int ___mb_cur_max(void); | ||||
#define MB_CUR_MAX ((size_t)___mb_cur_max()) | #define MB_CUR_MAX ((size_t)___mb_cur_max()) | ||||
_Noreturn void abort(void); | _Noreturn void abort(void); | ||||
int abs(int) __pure2; | int abs(int) __pure2; | ||||
int atexit(void (*)(void)); | int atexit(void (* _Nonnull)(void)); | ||||
double atof(const char *); | double atof(const char *); | ||||
int atoi(const char *); | int atoi(const char *); | ||||
long atol(const char *); | long atol(const char *); | ||||
void *bsearch(const void *, const void *, size_t, | void *bsearch(const void *, const void *, size_t, | ||||
size_t, int (*)(const void *, const void *)); | size_t, int (*)(const void * _Nonnull, const void *)); | ||||
void *calloc(size_t, size_t) __malloc_like __result_use_check | void *calloc(size_t, size_t) __malloc_like __result_use_check | ||||
__alloc_size(1) __alloc_size(2); | __alloc_size(1) __alloc_size(2); | ||||
div_t div(int, int) __pure2; | div_t div(int, int) __pure2; | ||||
_Noreturn void exit(int); | _Noreturn void exit(int); | ||||
void free(void *); | void free(void *); | ||||
char *getenv(const char *); | char *getenv(const char *); | ||||
long labs(long) __pure2; | long labs(long) __pure2; | ||||
ldiv_t ldiv(long, long) __pure2; | ldiv_t ldiv(long, long) __pure2; | ||||
void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1); | void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1); | ||||
int mblen(const char *, size_t); | int mblen(const char *, size_t); | ||||
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t); | size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t); | ||||
int mbtowc(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, | void qsort(void *, size_t, size_t, | ||||
int (*)(const void *, const void *)); | int (* _Nonnull)(const void *, const void *)); | ||||
int rand(void); | int rand(void); | ||||
void *realloc(void *, size_t) __result_use_check __alloc_size(2); | void *realloc(void *, size_t) __result_use_check __alloc_size(2); | ||||
void srand(unsigned); | void srand(unsigned); | ||||
double strtod(const char * __restrict, char ** __restrict); | double strtod(const char * __restrict, char ** __restrict); | ||||
float strtof(const char * __restrict, char ** __restrict); | float strtof(const char * __restrict, char ** __restrict); | ||||
long strtol(const char * __restrict, char ** __restrict, int); | long strtol(const char * __restrict, char ** __restrict, int); | ||||
long double | long double | ||||
strtold(const char * __restrict, char ** __restrict); | strtold(const char * __restrict, char ** __restrict); | ||||
▲ Show 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | |||||
__uint32_t | __uint32_t | ||||
arc4random(void); | arc4random(void); | ||||
void arc4random_addrandom(unsigned char *, int); | void arc4random_addrandom(unsigned char *, int); | ||||
void arc4random_buf(void *, size_t); | void arc4random_buf(void *, size_t); | ||||
void arc4random_stir(void); | void arc4random_stir(void); | ||||
__uint32_t | __uint32_t | ||||
arc4random_uniform(__uint32_t); | arc4random_uniform(__uint32_t); | ||||
#ifdef __BLOCKS__ | #ifdef __BLOCKS__ | ||||
int atexit_b(void (^)(void)); | int atexit_b(void (^ _Nonnull)(void)); | ||||
void *bsearch_b(const void *, const void *, size_t, | void *bsearch_b(const void *, const void *, size_t, | ||||
size_t, int (^)(const void *, const void *)); | size_t, int (^ _Nonnull)(const void *, const void *)); | ||||
#endif | #endif | ||||
char *getbsize(int *, long *); | char *getbsize(int *, long *); | ||||
/* getcap(3) functions */ | /* getcap(3) functions */ | ||||
char *cgetcap(char *, const char *, int); | char *cgetcap(char *, const char *, int); | ||||
int cgetclose(void); | int cgetclose(void); | ||||
int cgetent(char **, char **, const char *); | int cgetent(char **, char **, const char *); | ||||
int cgetfirst(char **, char **); | int cgetfirst(char **, char **); | ||||
int cgetmatch(const char *, const char *); | int cgetmatch(const char *, const char *); | ||||
int cgetnext(char **, char **); | int cgetnext(char **, char **); | ||||
int cgetnum(char *, const char *, long *); | int cgetnum(char *, const char *, long *); | ||||
int cgetset(const char *); | int cgetset(const char *); | ||||
int cgetstr(char *, const char *, char **); | int cgetstr(char *, const char *, char **); | ||||
int cgetustr(char *, const char *, char **); | int cgetustr(char *, const char *, char **); | ||||
int daemon(int, int); | int daemon(int, int); | ||||
char *devname(__dev_t, __mode_t); | char *devname(__dev_t, __mode_t); | ||||
char *devname_r(__dev_t, __mode_t, char *, int); | char *devname_r(__dev_t, __mode_t, char *, int); | ||||
char *fdevname(int); | char *fdevname(int); | ||||
char *fdevname_r(int, char *, int); | char *fdevname_r(int, char *, int); | ||||
int getloadavg(double [], int); | int getloadavg(double [], int); | ||||
const char * | const char * | ||||
getprogname(void); | getprogname(void); | ||||
int heapsort(void *, size_t, size_t, int (*)(const void *, const void *)); | int heapsort(void *, size_t, size_t, | ||||
int (* _Nonnull)(const void *, const void *)); | |||||
#ifdef __BLOCKS__ | #ifdef __BLOCKS__ | ||||
int heapsort_b(void *, size_t, size_t, int (^)(const void *, const void *)); | int heapsort_b(void *, size_t, size_t, | ||||
int (^ _Nonnull)(const void *, const void *)); | |||||
void qsort_b(void *, size_t, size_t, | void qsort_b(void *, size_t, size_t, | ||||
int (^)(const void *, const void *)); | int (^ _Nonnull)(const void *, const void *)); | ||||
#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); | ||||
Show All 27 Lines |