View source code Display the source code in core/stdc/stdlib.d from which this page was generated on github. 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 local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

Module 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.

Standards

ISO/IEC 9899:1999 (E)

Functions

Name Description
abort
abs
alloca
atexit
atof
atoi
atol
atoll
bsearch
calloc
div
exit
free
getenv
labs
ldiv
llabs
lldiv
malloc
mblen
mbstowcs
mbtowc
qsort
rand
realloc
srand
strtod
strtof
strtol
strtold
strtoll
strtoul
strtoull
system
wcstombs
wctomb
_Exit

Structs

Name Description
div_t
ldiv_t
lldiv_t

Enum values

Name Type Description
EXIT_FAILURE
EXIT_SUCCESS
MB_CUR_MAX
RAND_MAX

Aliases

Name Type Description
_compare_fp_t extern(C) int function(const(void*), const(void*))

Authors

Sean Kelly

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)

Comments