endif directive

#endif is a preprocessor directive. It closes an #if, #ifdef or #ifndef block.

Example: #ifdef __cplusplus extern "C" { #endif

void printf(char const* format, ...);

#ifdef __cplusplus } #endif

See also: #if, #ifdef, #ifndef