Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Compilation problems??
engebret_at_sg1.cr.usgs.gov (Chris Engebretson) wrote:
>In article <33F39B9C.5E4C_at_ici.net>, Alicia Carla Longstreet <carla_at_ici.net> writes:
>You seem to be having the misconception that whatever is passed to
>exit() is what is passed back as the return code to the OS/caller/
>what-have-you. This is *not* true. On a machine where 1 indicates
>success, C programs must still return 0. It is up to the
>implementation to do the "translation" to ensure that the platform's
>expectations for return codes are met sensibly.
However, I think on Posix systems, what is passed to exit becomes part
of what is returned to the calling program as part of the result in the
wait* routines. Is it not ?
Frederic G. MARAND: fgm_at_soon.com
Received on Mon Aug 18 1997 - 00:00:00 CDT
![]() |
![]() |