(* func)(fred, bert)

mac at ardent.com mac at ardent.com
Wed Nov 22 05:38:42 AEST 1989


>  In article <1989Nov21.015949.18974 at sq.sq.com> lee at sq.sq.com (Liam
>  R. E. Quin) writes:
Kushmer>VMS also complains when main() returns a non-odd value.

Lee>  Please explain -- in what way is a non-odd value different from an even
Lee>  value?
Lee>  
Lee>  Can main() return 0 (which is certainly not an odd number) safely?
Lee>  
Lee>  I am concerned about portaility.  Or did I miss a ":-)"?
Lee>  

	In VMS, i believe, odd means ok, even means error. Hence c
programs that return or exit 0 will be viewed by DCL as exiting with
an error.

Disclaimer:	My VMS memory is very fuzzy...


--
Michael McNamara	(St)ardent, Inc.		mac at ardent.com



More information about the Comp.lang.c mailing list