ref: 75f5332c9dce891845e57b188efad28d7530d8ae
parent: ad7316e87cd0444908caa74a5dfd4cf6168c5472
author: aiju <devnull@localhost>
date: Sat Dec 1 06:28:26 EST 2018
2c(1): document some differences with ANSI C
--- a/sys/man/1/2c
+++ b/sys/man/1/2c
@@ -404,6 +404,21 @@
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