Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
core.stdc.stdlib
D header file for C99.
This module contains bindings to selected types and
functions from the standard C header <stdlib.h>. Note that this
is not automatically generated, and may omit some types/functions from the
original C header.
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Sean Kelly
Standards:
ISO/IEC 9899:1999 (E)
Source: src/core/stdc/stdlib.d
- alias
_compare_fp_t= extern (C) int function(const(void*), const(void*)) @system; - @system void*
bsearch(in void*key, in void*base, size_tnmemb, size_tsize, _compare_fp_tcompar); - @system void
qsort(void*base, size_tnmemb, size_tsize, _compare_fp_tcompar); - struct
div_t; - struct
ldiv_t; - struct
lldiv_t; - enum int
EXIT_SUCCESS; - enum int
EXIT_FAILURE; - enum int
MB_CUR_MAX; - enum int
RAND_MAX; - nothrow @nogc @system double
atof(in char*nptr); - nothrow @nogc @system int
atoi(in char*nptr); - nothrow @nogc @system c_long
atol(in char*nptr); - nothrow @nogc @system long
atoll(in char*nptr); - nothrow @nogc @system double
strtod(in char*nptr, char**endptr); - nothrow @nogc @system float
strtof(in char*nptr, char**endptr); - nothrow @nogc @system c_long
strtol(in char*nptr, char**endptr, intbase); - nothrow @nogc @system long
strtoll(in char*nptr, char**endptr, intbase); - nothrow @nogc @system c_ulong
strtoul(in char*nptr, char**endptr, intbase); - nothrow @nogc @system ulong
strtoull(in char*nptr, char**endptr, intbase); - nothrow @nogc @system real
strtold(in char*nptr, char**endptr); - nothrow @nogc @trusted int
rand(); - nothrow @nogc @trusted void
srand(uintseed); - nothrow @nogc @system void*
malloc(size_tsize); - nothrow @nogc @system void*
calloc(size_tnmemb, size_tsize); - nothrow @nogc @system void*
realloc(void*ptr, size_tsize); - nothrow @nogc @system void
free(void*ptr); - nothrow @nogc @safe void
abort(); - nothrow @nogc @system void
exit(intstatus); - nothrow @nogc @system int
atexit(void function()func); - nothrow @nogc @system void
_Exit(intstatus); - nothrow @nogc @system char*
getenv(in char*name); - nothrow @nogc @
systemintsystem(in char*string); - pure nothrow @nogc @trusted int
abs(intj); - pure nothrow @nogc @trusted c_long
labs(c_longj); - pure nothrow @nogc @trusted long
llabs(longj); - nothrow @nogc @trusted div_t
div(intnumer, intdenom); - nothrow @nogc @trusted ldiv_t
ldiv(c_longnumer, c_longdenom); - nothrow @nogc @trusted lldiv_t
lldiv(longnumer, longdenom); - nothrow @nogc @system int
mblen(in char*s, size_tn); - nothrow @nogc @system int
mbtowc(wchar_t*pwc, in char*s, size_tn); - nothrow @nogc @system int
wctomb(char*s, wchar_twc); - nothrow @nogc @system size_t
mbstowcs(wchar_t*pwcs, in char*s, size_tn); - nothrow @nogc @system size_t
wcstombs(char*s, in wchar_t*pwcs, size_tn); - pure nothrow @nogc @system void*
alloca(size_tsize);
Copyright Sean Kelly 2005 - 2014.
| Page generated by
Ddoc on (no date time)