Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Compilation problems??

Re: Compilation problems??

From: Chris Engebretson <engebret_at_sg1.cr.usgs.gov>
Date: 1997/08/14
Message-ID: <EEx88D.975@igsrsparc2.er.usgs.gov>#1/1

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US