uuxqt questions
Guy Harris
guy at auspex.UUCP
Tue Dec 6 18:17:08 AEST 1988
>1) This was the result of mail being sent to an unknown user-id. Do the
> status/signal/exit values provide me with useful debugging information?
>
> shio - PAT=/bin:/usr/bin:/usr/ucb;export PATH;rmail sri
> Subfile with prefix:/usr/spool/uucp/sys/DEFAULT/D./D.ucdavisScBL2
> status 17152
> retstat is signal 0, exit 67:
Well, I suspect you can argue either way on whether it's "useful
debugging information" or not....
Mail software, at least under BSD, tends to use a set of exit status
conventions listed in <sysexits.h>. 67 is EX_NOUSER, "addressee
unknown", which tells you it's mail sent to an unknown user ID.
>From your comment, though, I infer you already knew that. Also, unless
you happen to know that those conventions are used, the numbers might as
well be random. Those could be considered arguments that it's not
useful debugging information....
(17152 is 67*256, or "67 in the next byte up from the bottom"; in other
words, it's the same as "signal 0, exit 67" - see WAIT(2) - and thus
redundant.)
More information about the Comp.unix.questions
mailing list