Sun Microsystems Sun Workstation — Sun Workstation 1.4 Manual: Release Notes, Installation, Troubleshooting

CPP ( 1) USER COMMANDS CPP( 1) corresponding token in the comma-separated list. 0 #undef name Forget the definition or name (ir any) from now on. #include "filename" #Include Include at this point the contents or filename (which is then run through cpp ). When the notation is used, filename is only searched for in the standard places. See the -I option above for more detail. #llne integer-constant "filename" Generate line control information for the next pass or the C compiler. Integer-constant is interpreted as the line number or the next line and filename is interpreted as the file where it comes from. Ir "filename" is not given, the current file name is unchanged.

#endlf Ends a section or lines begun by a test directive (#If, #lfdef, or #lfndef). Each test directive must have a matching #endlf. #lfdef name The lines following will appear in the output if and only if name has been the subject or a previous #define without being the subject or an intervening :fundef. #lfndef name The lines following will not appear in the output if and only if name has been the subject or a previous #define without being the subject or an intervening :fundef. #lf constant-expression Lines following will appear in the output if and only if the constant-expression evaluates to nonzero. All binary non-assignment C operators, the f:

operator, the unary -, !, and 0 - operators are all legal in constant-expression. The precedence or the operators is the same as defined by the C language. There is also a unary operator defined, which can be used in constant-expression in these two forms: defined ( name ) or defined name. This allows the effect or :flfdef and :flfndef in a :flt directive. Only these operators, integer constants, and names which are known by cpp should be used in constant- expression. In particular, the slzeof operator is not available. #else Reverses for the following lines the notion or the test directive currently in effect.

So if lines previous to this directive are ignored, the following lines will appear in the output, and vice versa. The test directives and corresponding #else directives can be nested. DETAILS OF THE C PREPROCESSOR Directory search order for #include files is: 1. the directory or the file which contains the #include request (that is, #include is relative to the file being scanned when the request is made) 2. the directories specified by -I options, in left-to-right order. 3. the _standard directory(s) (/usr/include for the Sun system). Special Names: Two special names are understood by cpp.

The name _J.,INE __ is defined as the current line number (a decimal integer) as known by cpp, and _ _FILE __ is defined as the current file name (a C string) as known by cpp. They can be used anywhere (including in macros) just as any other defined name. A newline terminates a character constant or quoted string. 0 56 Last change: g August 1984 Sun Release 1.4