C portability between non-UNIX operating systems.
Martin Minow
minow at decvax.UUCP
Mon Oct 8 09:18:01 AEST 1984
Rick Westerman asks for guidelines for porting code between
various C implementations -- especially those on non-Unix
machines. There are some suggestions in the Decus C documentation.
They all boil down to
D O N ' T B E C L E V E R .
I.e, don't assume that free()/realloc() sequences do what they
did on Unix V6. Don't assume that variable-names are significant
past the 6th byte, etc. etc. etc.
More information about the Comp.lang.c
mailing list