Is this ok??
Henry Spencer
henry at zoo.toronto.edu
Fri Mar 8 03:37:12 AEST 1991
In article <DAVIS.91Mar6213546 at pacific.mps.ohio-state.edu> davis at pacific.mps.ohio-state.edu (John E. Davis) writes:
> The following code works on sun4 and ultrix but crashes on VMS. Just when
>I thought I understood pointers.....
> ...
>int main()
> {
> ...
> return(0);
> }
My tentative diagnosis is that you understand pointers but don't understand
VMS exit status! 0 is *not* "success" in VMS. They're going to have to do
something about this to conform to ANSI C, but they may not have figured
that out yet.
The pointer part of your program looks fine.
--
"But this *is* the simplified version | Henry Spencer @ U of Toronto Zoology
for the general public." -S. Harris | henry at zoo.toronto.edu utzoo!henry
More information about the Comp.lang.c
mailing list