core.stdc.stdlib

D header file for C99.

Types 4

alias_compare_fp_t = int function(const void *, const void *)
structdiv_t
Fields
int quot
structldiv_t
Fields
c_long quot
structlldiv_t
Fields
long quot

Functions 35

fninout(void) * bsearch(const void * key, inout(void) * base, size_t nmemb, size_t size, _compare_fp_t compar) extern(C) nothrow @nogc
fnvoid qsort(void * base, size_t nmemb, size_t size, _compare_fp_t compar) extern(C) nothrow @nogc
fndouble atof(scope const char * nptr) extern(C) nothrow @nogc
fnint atoi(scope const char * nptr) extern(C) nothrow @nogc
fnc_long atol(scope const char * nptr) extern(C) nothrow @nogc
fnlong atoll(scope const char * nptr) extern(C) nothrow @nogc
fndouble strtod(scope inout(char) * nptr, scope inout(char) * * endptr) extern(C) nothrow @nogc
fnfloat strtof(scope inout(char) * nptr, scope inout(char) * * endptr) extern(C) nothrow @nogc
fnc_long strtol(scope inout(char) * nptr, scope inout(char) * * endptr, int base) extern(C) nothrow @nogc
fnlong strtoll(scope inout(char) * nptr, scope inout(char) * * endptr, int base) extern(C) nothrow @nogc
fnc_ulong strtoul(scope inout(char) * nptr, scope inout(char) * * endptr, int base) extern(C) nothrow @nogc
fnulong strtoull(scope inout(char) * nptr, scope inout(char) * * endptr, int base) extern(C) nothrow @nogc
fnint rand() @trusted extern(C) nothrow @nogcThese two were added to Bionic in Lollipop.
fnvoid srand(uint seed) @trusted extern(C) nothrow @nogc
fnvoid * malloc(size_t size) extern(C) nothrow @nogc
fnvoid * calloc(size_t nmemb, size_t size) extern(C) nothrow @nogc
fnvoid * realloc(void * ptr, size_t size) extern(C) nothrow @nogc
fnvoid free(void * ptr) extern(C) nothrow @nogc
fnnoreturn abort() extern(C) nothrow @nogc @safe
fnnoreturn exit(int status) extern(C) nothrow @nogc
fnint atexit(void function() func) extern(C) nothrow @nogc
fnnoreturn _Exit(int status) extern(C) nothrow @nogc
fnchar * getenv(scope const char * name) extern(C) nothrow @nogc
fnint system(scope const char * string) extern(C) nothrow @nogc
fnint abs(int j) @trusted extern(C) nothrow @nogc pure
fnc_long labs(c_long j) @trusted extern(C) nothrow @nogc pure
fnlong llabs(long j) @trusted extern(C) nothrow @nogc pure
fndiv_t div(int numer, int denom) @trusted extern(C) nothrow @nogc
fnldiv_t ldiv(c_long numer, c_long denom) @trusted extern(C) nothrow @nogc
fnlldiv_t lldiv(long numer, long denom) @trusted extern(C) nothrow @nogc
fnint mblen(scope const char * s, size_t n) extern(C) nothrow @nogc
fnint mbtowc(scope wchar_t * pwc, scope const char * s, size_t n) extern(C) nothrow @nogc
fnint wctomb(scope char * s, wchar_t wc) extern(C) nothrow @nogc
fnsize_t mbstowcs(scope wchar_t * pwcs, scope const char * s, size_t n) extern(C) nothrow @nogc
fnsize_t wcstombs(scope char * s, scope const wchar_t * pwcs, size_t n) extern(C) nothrow @nogc

Variables 3

enumvarEXIT_SUCCESS = 0
enumvarEXIT_FAILURE = 1
enumvarMB_CUR_MAX = 1