Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!mcvax!ukc!cstvax!simon From: simon@cstvax.UUCP (Simon Brown) Newsgroups: net.unix-wizards Subject: Re: System V and SIGCLD Message-ID: <114@cstvax.UUCP> Date: Mon, 12-May-86 13:59:19 EDT Article-I.D.: cstvax.114 Posted: Mon May 12 13:59:19 1986 Date-Received: Thu, 15-May-86 05:54:52 EDT References: <344@hrc63.UUCP> Reply-To: simon@cstvax.UUCP (Simon Brown) Organization: Comp. Sc., Edinburgh Univ., Scotland Lines: 23 In article <344@hrc63.UUCP> nwh@hrc63.UUCP (Nigel Holder Marconi) writes: > Now that brings me to wait. 4.2 at least provides two flavours of wait : >wait and wait3. Now wait3 is new and is free to do what it wants in its own >way. Wait however, does not requires an int pointer, it requires a pointer >to a union which happens to start with an int. Whether this affects >programs written in Sys V flavour or not is probably well defined at the >moment, but it could change. Just another example of a transparent >difference between flavours that is easily overlooked. Actually, the union doesn't just "happen" to begin with an int - it *has* to for compatibility with the Version-7 wait(), which was just like: int procid, status; procid = wait(&status); -- ------------------------------------------------- | Simon Brown, Dept. of Computer Science, | | Edinburgh University | | ...!mcvax!ukc!cstvax!simon | -------------------------------------------------