Interface __NORET_ATTR__

Preprocessor macro expanding to a type attribute

#include <SYS/TYPES.H>

void __NORET_ATTR__ function(args...);

Description

This macro expands to a compiler-specific attribute telling that the function doesn't return.

It enables the compiler to do better optimizations.

Implementation note

When using the gcc compiler, this macro expands to __attribute__((__noret__)).

See also

__CONST_ATTR__, __PURE_ATTR__