Donna Garverick wrote:
>
> "Emerson, Tom # El Monte" wrote:
>
> > The exit function terminates the calling process. The parameter status
> > is returned to the MPE/iX command interpreter using the CJCW job control
> > word. By convention, a status value of zero (0) indicates EXIT_SUCCESS,
> > and a value of one (1) indicates EXIT_FAILURE. You may establish
> > additional return values as required.
>
> i fully aware that ping (plus the programs in hpbin) returns cjcw. (btw -- can
> anyone comment on that last sentence in the above quote?)
I read that last exit() sentence to mean that the program may return status
values greater than 1 if it desires. I think the /bin/test command will return
0, 1, or 2.
0 indicates success, and non-zero indicates failure. There can be more than
one kind of failure.
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...