assert.h header reference
[C library module]

The source code of this header can be browsed online.

Members [link] 

Functions [link] 

Macros [link] 

Members detail [link] 

#define IFASSERT(...) [link] 

This macro is declared in assert.h source file, line 71.

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )

#define IFASSERT(...) [link] 

This macro is declared in assert.h source file, line 90.

Preprocessor condition: not defined( CONFIG_LIBC_ASSERT )

#define LOGK_MODULE_ID [link] 

This macro is declared in assert.h source file, line 43.

A four characters logk module id defined for the current compilation unit.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: not defined( LOGK_MODULE_ID )

#define MUTEK_CFILE [link] 

This macro is declared in assert.h source file, line 49.

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )

#define UNREACHABLE() [link] 

This macro is declared in assert.h source file, line 81.

this macro macro can be used when the control flow can not reach a point. When CONFIG_LIBC_ASSERT is defined, reaching this point is treated as an assertion failure. In the other case, __builtin_unreachable is used.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )

#define UNREACHABLE() [link] 

This macro is declared in assert.h source file, line 92.

Documentation from alternate declaration:

this macro macro can be used when the control flow can not reach a point. When CONFIG_LIBC_ASSERT is defined, reaching this point is treated as an assertion failure. In the other case, __builtin_unreachable is used.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: not defined( CONFIG_LIBC_ASSERT )

#define __ASSERT_H_ [link] 

This macro is declared in assert.h source file, line 23.

#define __assert(expr, str) [link] 

This macro is declared in assert.h source file, line 63.

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )) and ( defined( CONFIG_LIBC_ASSERT_SIMPLE ) or not defined( CONFIG_MUTEK_PRINTK )

#define __assert(expr, str) [link] 

This macro is declared in assert.h source file, line 67.

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )) and not ( defined( CONFIG_LIBC_ASSERT_SIMPLE ) or not defined( CONFIG_MUTEK_PRINTK )

void __assert_fail(void ) [link] 

This function is declared in assert.h source file, line 63.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )) and ( defined( CONFIG_LIBC_ASSERT_SIMPLE ) or not defined( CONFIG_MUTEK_PRINTK )

void __assert_fail(const char *file, uint_fast16_t line, const char *expr) [link] 

This function is declared in assert.h source file, line 67.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )) and not ( defined( CONFIG_LIBC_ASSERT_SIMPLE ) or not defined( CONFIG_MUTEK_PRINTK )

#define assert(expr) [link] 

This macro is declared in assert.h source file, line 70.

this macro is the standard assert macro

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )

#define assert(expr) [link] 

This macro is declared in assert.h source file, line 89.

Documentation from alternate declaration:

this macro is the standard assert macro

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: not defined( CONFIG_LIBC_ASSERT )

#define ensure(expr) [link] 

This macro is declared in assert.h source file, line 75.

this macro macro does the same as the assert macro, but still execute expr when CONFIG_LIBC_ASSERT is disabled

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )

#define ensure(expr) [link] 

This macro is declared in assert.h source file, line 91.

Documentation from alternate declaration:

this macro macro does the same as the assert macro, but still execute expr when CONFIG_LIBC_ASSERT is disabled

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: not defined( CONFIG_LIBC_ASSERT )

#define __assert_filter() [link] 

This macro is declared in assert.h source file, line 53.

This macro is for internal use only.

Preprocessor condition: defined( CONFIG_LIBC_ASSERT )

Valid XHTML 1.0 StrictGenerated by diaxen on Thu Aug 4 15:44:05 2022 using MkDoc