Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 95 15:47:13 MET
From:      marino.ladavac@aut.alcatel.at
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        hackers@freebsd.org
Subject:   Re: Whither wait_t?
Message-ID:  <9509261444.AA27256@atuhc16.aut.alcatel.at>
In-Reply-To: <199509240739.IAA29753@uriah.heep.sax.de>; from "J Wunsch" at Sep 24, 95 8:39 am

next in thread | previous in thread | raw e-mail | index | archive | help

> 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 <sys/wait.h>

      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. ;-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9509261444.AA27256>