Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!mcnc!rti-sel!sas!burnette From: burnette@sas.UUCP (Edmund Burnette) Newsgroups: comp.sources.d Subject: How do you guys write such portable code? Message-ID: <236@sas.UUCP> Date: Tue, 2-Dec-86 22:41:51 EST Article-I.D.: sas.236 Posted: Tue Dec 2 22:41:51 1986 Date-Received: Thu, 4-Dec-86 06:03:36 EST Distribution: net Organization: SAS Institute Inc. Cary, NC Lines: 17 Recent comments to the contrary notwithstanding, I have had pretty good luck taking source right from comp.sources (or wherever), unnsharing it and compiling it on a couple of systems at work (HP and APOLLO, fyi). My question is, how do you do it? Is the author just familiar with all the sytems the code will be ported to? Or am I just lucky? Is there any written documentation (oh no!) on how to write portable code? I am not talking so much about making sure you don't make int/ptr assumptions, etc., as all the operating system calls, I suppose. Thanks. -- Edmund -- |_o_o|\\ Edmund Burnette |. o.| || mcnc!rti-sel!sas!burnette | . | || | o | || member of... | . |// The Software Distillery ====== BBS: (919)-471-6436