summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/1/2c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/man/1/2c b/sys/man/1/2c
index 8e7dde1b6..d6bdeace1 100644
--- a/sys/man/1/2c
+++ b/sys/man/1/2c
@@ -404,6 +404,21 @@ will turn into in-line bit operations,
as is done for shorter
.I unsigned
expressions).
+.PP
+Other differences with ANSI C include
+.TF \|
+.PD
+.TP
+\-
+The compilers use the original "unsigned preserving", rather than ANSI C "value preserving" rules, which means that, e.g.,
+.B "unsigned char"
+gets promoted to
+.B "unsigned int"
+rather than
+.BR "int" .
+.TP
+\-
+Parameters in macros are substituted inside of strings.
.SH EXAMPLE
For the 68020, produce a program
.B prog