2.9BSD Termination codes

dan at haddock.UUCP dan at haddock.UUCP
Mon May 27 08:35:00 AEST 1985


The make status codes are actually not hard to "read", though you
won't necessarily be any the wiser when you're done.  They are
the actual values returned from wait(2).  A "termination code" indicates
the program was killed by a signal; see the description of the low-order byte
returned by wait(2).  "Termination code 138" means 128 (core dumped)
plus 10 (killed by signal 10; see signal(2) to find out what it is).

If make indicates an "Error code", then the program was not killed by
a signal but terminated intentionally.  The number is the exit() value
supplied by the program.

	Dan Franklin



More information about the Comp.unix mailing list