Skip to content

noreturn

The noreturn is a function qualifier keyword for indicating the end of a program. noreturn functions do not return and terminates its process; noreturn functions's return type must be void.

Syntax

noreturn void fuBar() { /* method body */ }