01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CPP ( 1 )<br />

CPP (1)<br />

the C language. There is also a unary operator defined,<br />

which can be used in constant-expression in these two<br />

forms: defined ( name ) or defined name . This allows<br />

the utility of #ifdef and #ifndef in a #if directive.<br />

Only these operators, integer constants, and names which<br />

are known by cpp should be used in constant-expression .<br />

In particular, the sizeof operator is not available.<br />

#else Reverses the notion of the test directive which matches<br />

this directive. So if lines previous to this directive are<br />

ignored, the following lines will appear in the output.<br />

And vice versa.<br />

The test directives and the possible #else directives can be<br />

nested.<br />

FILES<br />

fusr/include<br />

standard directory for #include files<br />

SEE ALSO<br />

cc(l), m4( 1).<br />

DIAGNOSTICS<br />

The error messages produced by cpp are intended to be selfexplanatory.<br />

The line number and filename where the error<br />

occurred are printed along with the diagnostic.<br />

NOTES<br />

When newline characters were found in argument lists for macros<br />

to be expanded, previous versions of cpp put out the newlines as<br />

they were found and expanded. The current version of cpp<br />

replaces these newlines with blanks to alleviate problems that the<br />

previous versions had when this occurred.<br />

- 3-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!