Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!ucsd!chem.ucsd.edu!tps From: tps@chem.ucsd.edu (Tom Stockfisch) Newsgroups: comp.lang.c Subject: Re: How do a write portable programs? Message-ID: <286@chem.ucsd.EDU> Date: 10 Sep 88 18:53:38 GMT References: <1056@nmtsun.nmt.edu> <2515@ingr.UUCP> Reply-To: tps@chem.ucsd.edu (Tom Stockfisch) Organization: Chemistry Dept, UC San Diego Lines: 19 In article <2515@ingr.UUCP> jones@ingr.UUCP (Mark Jones) writes: >In article <1056@nmtsun.nmt.edu>, warner@hydrovax.nmt.edu (M. Warner Losh) writes: >> How do I write program that are easily protable when I HAVE TO use the >> system calls ... >If at all possible, stick to std K & R functions (if they are not in the >K & R book (first edition), don't use them. So I shouldn't use: malloc() setbuf() fflush() feof() ? -- || Tom Stockfisch, UCSD Chemistry tps@chem.ucsd.edu