* Copyright (c) 1980 The Regents of the University of California.
* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
static char sccsid
[] = "@(#)wait_.c 5.2 (Berkeley) 4/12/91";
* wait for a child to die
* integer wait, status, chilid
* chilid will be - >0 if child process id
* - <0 if (negative of) system error code
* status will contain the exit status of the child