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 core/stdc/stdlib.d
- alias_compare_fp_t= extern (C) int function(const(void*), const(void*));
- nothrow @nogc inout(void)*bsearch(const void*key, inout(void)*base, size_tnmemb, size_tsize, _compare_fp_tcompar);
- nothrow @nogc voidqsort(void*base, size_tnmemb, size_tsize, _compare_fp_tcompar);
- structdiv_t;
- structldiv_t;
- structlldiv_t;
- enum intEXIT_SUCCESS;
- enum intEXIT_FAILURE;
- enum intMB_CUR_MAX;
- enum intRAND_MAX;
- nothrow @nogc doubleatof(scope const char*nptr);
- nothrow @nogc intatoi(scope const char*nptr);
- nothrow @nogc c_longatol(scope const char*nptr);
- nothrow @nogc longatoll(scope const char*nptr);
- nothrow @nogc doublestrtod(scope inout(char)*nptr, scope inout(char)**endptr);
- nothrow @nogc floatstrtof(scope inout(char)*nptr, scope inout(char)**endptr);
- nothrow @nogc c_longstrtol(scope inout(char)*nptr, scope inout(char)**endptr, intbase);
- nothrow @nogc longstrtoll(scope inout(char)*nptr, scope inout(char)**endptr, intbase);
- nothrow @nogc c_ulongstrtoul(scope inout(char)*nptr, scope inout(char)**endptr, intbase);
- nothrow @nogc ulongstrtoull(scope inout(char)*nptr, scope inout(char)**endptr, intbase);
- nothrow @nogc realstrtold(scope inout(char)*nptr, scope inout(char)**endptr);
- Added to Bionic since Lollipop.
- nothrow @nogc @trusted intrand();
- These two were added to Bionic in Lollipop.
- nothrow @nogc @trusted voidsrand(uintseed);
- nothrow @nogc void*malloc(size_tsize);
- nothrow @nogc void*calloc(size_tnmemb, size_tsize);
- nothrow @nogc void*realloc(void*ptr, size_tsize);
- nothrow @nogc voidfree(void*ptr);
- nothrow @nogc void*aligned_alloc(size_talignment, size_tsize);
- since C11
- nothrow @nogc @safe noreturnabort();
- nothrow @nogc noreturnexit(intstatus);
- nothrow @nogc intatexit(void function()func);
- nothrow @nogc noreturn_Exit(intstatus);
- nothrow @nogc char*getenv(scope const char*name);
- nothrow @nogc intsystem(scope const char*string);
- pure nothrow @nogc @trusted intabs(intj);
- pure nothrow @nogc @trusted c_longlabs(c_longj);
- pure nothrow @nogc @trusted longllabs(longj);
- nothrow @nogc @trusted div_tdiv(intnumer, intdenom);
- nothrow @nogc @trusted ldiv_tldiv(c_longnumer, c_longdenom);
- nothrow @nogc @trusted lldiv_tlldiv(longnumer, longdenom);
- nothrow @nogc intmblen(scope const char*s, size_tn);
- nothrow @nogc intmbtowc(scope wchar_t*pwc, scope const char*s, size_tn);
- nothrow @nogc intwctomb(scope char*s, wchar_twc);
- nothrow @nogc size_tmbstowcs(scope wchar_t*pwcs, scope const char*s, size_tn);
- nothrow @nogc size_twcstombs(scope char*s, scope const wchar_t*pwcs, size_tn);
- pure nothrow @nogc void*alloca(size_tsize);
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:27:36 2025