Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Compilation problems??
In article <33F359DD.4855_at_ici.net>, Alicia Carla Longstreet <carla_at_ici.net> writes:
|> There is NOTHING in the standard that requires a program to return
|> either EXIT_SUCCESS or EXIT_FAILURE, the Standard allows ANY INTEGER
|> VALUE to be returned, with either exit() or a simple return.
However a program which exits with a status other than 0, EXIT_SUCCESS, or EXIT_FAILURE is not a strictly-conforming C program. The behavior of exit statuses not mentioned above is implementation-defined, i.e, on one platform "exit(1);" might indicate success, on another it might indicate failure, and on yet another it might even indicate that the program "almost worked."
Regards,
-- Chris Engebretson --- Hughes STX Corporation | Ph#: (605)594-6829 USGS EROS Data Center, Sioux Falls, SD 57198 | Fax: (605)594-6490 Landsat 7 IAS Engineering Team -- http://ltpwww.gsfc.nasa.gov/IAS http://edcwww.cr.usgs.gov/ mailto:engebret@sg1.cr.usgs.gov Opinions here are not those of Hughes Aircraft, STX, or the USGS.Received on Thu Aug 14 1997 - 00:00:00 CDT
![]() |
![]() |