On Wed, Aug 24, 2005 at 05:46:25PM -0400, donald.ritchey AT exeloncorp DOT com
wrote:
>
> For UNIX systems, return code 2 is "No such file or directory" or "File not
> found",
>
> This information is found in the /usr/include/errno.h on most UNIX systems
>
Unix standards specify a zero ("0") exit status for successful execution of an
application, non-zero otherwise. The meaning of any specific non-zero value
is up to the application developer(s).
The value to which errno is set is not related to the exit status (aka return
code)
of an application. errno is intended to be used internally in the C code, and
any similiarity between it an the exit status is coincidence (or the application
developer's idea of an ordered world).
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|