Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!cbmvax!hutch!rabbit1!barber From: barber@rabbit1.UUCP (Steve Barber) Newsgroups: comp.sources.d Subject: Re: How do you guys write such portable code? Message-ID: <268@rabbit1.UUCP> Date: Mon, 22-Dec-86 18:03:07 EST Article-I.D.: rabbit1.268 Posted: Mon Dec 22 18:03:07 1986 Date-Received: Tue, 23-Dec-86 21:48:54 EST References: <236@sas.UUCP> <2780002@hpisod2.HP> Organization: Rabbit Software Corp., Malvern PA Lines: 27 Summary: Portable C and UNIX: A Book > > ........... 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 > *** CAUTION: Self-serving message follows *** There *IS* a book available on how to write portable UNIX programs across all versions of UNIX (or at least all the ones that we could find at the time). It is called "Portable C and UNIX System Programming" by J. E. Lapin, and it is either available now or will be available very shortly from Prentice-Hall. We use the techniques outlined in the book to write all our software and the results have been terrific. Disclaimer: I had a part in this book, and Rabbit Software (my employer) gets royalties from its sale. -- Steve Barber Rabbit Software Corp. ...!ihnp4!{cbmvax,cuuxb}!hutch!barber ...!psuvax1!burdvax!hutch!barber (215) 647-0440 7 Great Valley Parkway East Malvern PA 19355