COHERENT manpages

This page displays the COHERENT manpage for #endif [End conditional inclusion of code].

List of available manpages
Index


#endif -- Preprocessing Directive

End conditional inclusion of code

The preprocessing directive #endif  must follow any #if, #ifdef, or #ifndef
directive.  It may  also be preceded by any number  of #elif directives and
an  #else  directive.   It marks  the  end  of  a  sequence of  source-file
statements that are included conditionally by the preprocessor.

Example

For an example of using this directive in a program, see assert.

See Also

#elif,
#else,
#if,
#ifdef,
#ifndef,
C preprocessor
ANSI Standard, §6.8.1