Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site boulder.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!hao!cires!boulder!jon
From: jon@boulder.UUCP (Jon Corbet)
Newsgroups: net.lang.c
Subject: Re: C portability between non-UNIX operating systems.
Message-ID: <226@boulder.UUCP>
Date: Fri, 12-Oct-84 10:54:13 EDT
Article-I.D.: boulder.226
Posted: Fri Oct 12 10:54:13 1984
Date-Received: Sun, 14-Oct-84 04:46:38 EDT
References: <2208@pur-ee.UUCP> <85@decvax.UUCP> 
Reply-To: jon@boulder.UUCP (Jon Corbet)
Organization: National Center for Atmospheric Research
Lines: 20
Summary: 

In article  mac@tesla.UUCP (Michael Mc Namara) writes:
>
>    [2] The biggest problem I have found is that they don't call
>stdio.h stdio.h!!!!  On VMS, it is invoked with #include 
>on the Harris, it is "STDIO.H" (caps necessary), et cetera
>
>    [3] Vms requires everything be initialized if it is to be external.

Really?  Which compiler do you use?  The VAX11 C (trademark of DEC, I'm
sure) compiler (1) understands  as well as other nifty things
like  and  that one would expect to be UNIX (TM)
dependant.  Furthermore, externals do NOT need to be initialized.

My experience has been that UNIX code ports to VMS with little trouble,
unless (1) you wire file names, or (2) use lots of process/job control
stuff that VMS does not support.

--
Jon Corbet
National Center for Atmospheric Research, Field Observing facility