From: eck Date: Tue, 24 Oct 1989 10:18:45 +0000 (+0000) Subject: renamed nccp.6 to ncpp.6 X-Git-Tag: release-5-5~2170 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=1ce56a4e784cbedb6db2379b105713ea9ceb4be2;p=ack.git renamed nccp.6 to ncpp.6 --- diff --git a/lang/cem/cpp.ansi/ncpp.6 b/lang/cem/cpp.ansi/ncpp.6 new file mode 100644 index 000000000..d72f72693 --- /dev/null +++ b/lang/cem/cpp.ansi/ncpp.6 @@ -0,0 +1,74 @@ +.TH NCPP 6ACK +.ad +.SH NAME +ncpp \- New C Pre-Processor +.SH SYNOPSIS +ncpp [\-options] [ file ] +.SH DESCRIPTION +.I Ncpp +reads a file, expands macros and include +files, and writes an input file for the C compiler. +All output is to standard output. +.br +The following options are supported. +.IP -\fBI\fIdirectory\fR +.br +add this directory to the list of +directories searched for #include "..." and #include <...> +commands. Note that there is no space between the +"-I" and the directory string. More than one -I command +is permitted. +.IP -\fBI\fR +end the list of directories to be searched, and also do not look in +default places. +.IP -\fBD\fIname\fR=\fItext\fR +.br +define +.I name +as a macro with +.I text +as its replacement text. +.IP -\fBD\fIname\fR +the same as -\fBD\fIname\fR=1. +.IP +.IP -\fBU\fIname\fR +.br +undefine the macro name +.IR name . +.IP -\fBC\fR +leave comments in. By default, C-comments are deleted. +.IP -\fBP\fR +do not generate line directives +.IP -\fBM\fIn\fR +set maximum identifier length to +.IR n . +.PP +The following names are always available unless undefined: +.RS +.IP __STDC__ +A decimal constant 1, indicating that this is an ANSI C conforming +implementation. +.IP __FILE__ +The input (or #include) file being compiled +(as a quoted string). +.IP __LINE__ +The line number being compiled. +.IP __DATE__ +The date of translation of the source file. This is a string +literal of the form "\fBMmm dd yyyy\fP". +.IP __TIME__ +The time of translation of the source file. This is a string +literal of the form "\fBhh:mm:ss\fP". +.RE +.SH BUGS +The output may contain extra spaces, this prevents unintended +pasting of tokens. +.SH "SEE ALSO" +L. Rosler, +.I +Draft Proposed Standard - Programming Language C, +.R +ANSI X3J11 Language Subcommittee +.SH AUTHOR +Leendert van Doorn +