Path: utzoo!attcan!uunet!mcsun!hp4nl!star.cs.vu.nl!rvdp From: rvdp@cs.vu.nl (Ronald van der Pol) Newsgroups: comp.unix.i386 Subject: Re: wait() & negative values Message-ID: <7351@star.cs.vu.nl> Date: 20 Aug 90 15:13:59 GMT References: <70400015@m.cs.uiuc.edu> Sender: news@cs.vu.nl Lines: 16 carroll@m.cs.uiuc.edu writes: >sometimes returns negative values in *loc, e.g. 0xFFFFxxyy where xx and yy >are the values you'd normally expect in the bottom 16 bits of the return value. >TFM specifies the contents of the bottom 16 bits of *loc, but says absolutely >nothing about the top 16 bits. The GNU-Emacs process internals assume that wait(loc) int *loc; loc = 0xHHHH.LLLL HHHH: low byte of child exit argument (0 on normal exit) LLLL: termination status of child process (0 on normal exit) -- Ronald van der Pol