From owner-freebsd-hackers Tue Sep 26 07:47:51 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA07360 for hackers-outgoing; Tue, 26 Sep 1995 07:47:51 -0700 Received: from Relay1.Austria.EU.net (relay1.Austria.EU.net [192.92.138.47]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id HAA07354 for ; Tue, 26 Sep 1995 07:47:43 -0700 From: marino.ladavac@aut.alcatel.at Received: from aut.alcatel.at (dnisun.aut.alcatel.at) by Relay1.Austria.EU.net with SMTP id AA11462 (5.67b/IDA-1.5 for ); Tue, 26 Sep 1995 15:47:10 +0100 Received: from atuhc16 by aut.alcatel.at (4.1/SMI-4.1/AAA-1.29/main) id AA27256; Tue, 26 Sep 95 15:44:12 +0100 Message-Id: <9509261444.AA27256@atuhc16.aut.alcatel.at> Received: by atuhc16 (1.38.193.4/16.2) id AA11050; Tue, 26 Sep 1995 15:47:13 +0100 Subject: Re: Whither wait_t? To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Date: Tue, 26 Sep 95 15:47:13 MET Cc: hackers@freebsd.org In-Reply-To: <199509240739.IAA29753@uriah.heep.sax.de>; from "J Wunsch" at Sep 24, 95 8:39 am Mailer: Elm [revision: 70.85] Sender: owner-hackers@freebsd.org Precedence: bulk > As Jordan K. Hubbard wrote: > > > > Shouldn't it be defined in sys/wait.h? Not in 2.1! :-( > > > > What's our evil friend POSIX say? > Since the man page claims: > STANDARDS > The wait() and waitpid() functions are defined by POSIX; > ...most likely not. What is "wait_t"? Everything in the man page > mentions an int. > (Sorry, 1003.1 is apparently unavailable in electronic form.) Taken from an HP-UX workstation: SYNOPSIS #include pid_t wait(int *stat_loc); pid_t waitpid(pid_t pid, int *stat_loc, int options); pid_t wait3(int *stat_loc, int options, int *reserved); . . . . AUTHOR wait(), waitpid(), and wait3() were developed by HP, AT&T, and the University of California, Berkeley. SEE ALSO Exit conditions ($?) in sh(1), exec(2), exit(2), fork(2), pause(2), ptrace(2), signal(5). STANDARDS CONFORMANCE wait(): AES, SVID2, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1 waitpid(): AES, XPG3, XPG4, FIPS 151-2, POSIX.1 Hewlett-Packard Company - 4 - HP-UX Release 9.0: August 1992 ....... We are talking about the thing HP calls stat_loc, aren't we? /Alby > -- > cheers, J"org > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ > Never trust an operating system you don't have sources for. ;-)