Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site decvax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!uwvax!harvard!godot!mit-eddie!genrad!decvax!minow From: minow@decvax.UUCP (Martin Minow) Newsgroups: net.lang.c Subject: Re: C portability between non-UNIX operating systems. Message-ID: <85@decvax.UUCP> Date: Sun, 7-Oct-84 19:18:01 EDT Article-I.D.: decvax.85 Posted: Sun Oct 7 19:18:01 1984 Date-Received: Tue, 9-Oct-84 19:32:54 EDT References: <2208@pur-ee.UUCP> Organization: DEC UNIX Engineering Group Lines: 11 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.