core.stdc.assert_

These are the various functions called by the assert() macro. They are all noreturn functions, although D doesn't have a specific attribute for that.

Members

Functions

__assert
void __assert(const(char)* exp, const(char)* file, uint line)

Assert failure function in the FreeBSD C library.

__assert
void __assert(const(char)* file, int line, const(char)* exp)

Assert failure function in the NetBSD C library.

__assert
void __assert(const(char)* file, int line, const(char)* exp)

Assert failure function in the OpenBSD C library.

__assert
void __assert(const(char)* exp, const(char)* file, uint line)

Assert failure function in the DragonFlyBSD C library.

__assert
void __assert(const(char)* exp, const(char)* file, uint line)

Assert failure functions in the GLIBC library.

__assert2
void __assert2(const(char)* file, int line, const(char)* func, const(char)* exp)
__assert_fail
void __assert_fail(const(char)* exp, const(char)* file, uint line, const(char)* func)
__assert_fail
void __assert_fail(const(char)* exp, const(char)* file, uint line, const(char)* func)

Assert failure function in the Musl C library.

__assert_perror_fail
void __assert_perror_fail(int errnum, const(char)* file, uint line, const(char)* func)
__assert_rtn
void __assert_rtn(const(char)* func, const(char)* file, uint line, const(char)* exp)

Assert failure function in the OSX C library.

_assert
void _assert(const(void)* exp, const(void)* file, uint line)

Assert failure function in the Digital Mars C library.

_assert
void _assert(const(char)* exp, const(char)* file, uint line)
_wassert
void _wassert(const(wchar)* exp, const(wchar)* file, uint line)

Assert failure function in the Microsoft C library. _assert is not in assert.h, but it is in the library.

Suggestion Box / Bug Report