[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fwd: Re: kern/50230: conflict in type declaration of 'idtype_t' from sys/types.h with POSIX sys/wait.h
The following reply was made to PR kern/50230; it has been noted by GNATS.
From: Joerg Schilling <Joerg.Schilling%fokus.fraunhofer.de@localhost>
To: <martin%duskware.de@localhost>, <netbsd-bugs%netbsd.org@localhost>, <gnats-admin%netbsd.org@localhost>,
<christos%zoulas.com@localhost>, <schily%schily.net@localhost>, <heiko.eissfeldt%hexco.de@localhost>
Subject: Re: Fwd: Re: kern/50230: conflict in type declaration of 'idtype_t'
from sys/types.h with POSIX sys/wait.h
Date: Mon, 12 Oct 2015 16:51:53 +0200
"heiko.eissfeldt%hexco.de@localhost" <heiko.eissfeldt%hexco.de@localhost> wrote:
> > | From: David Holland <dholland-bugs%netbsd.org@localhost>
> > | To: gnats-bugs%NetBSD.org@localhost
> > | Cc:
> > | Subject: Re: kern/50230: conflict in type declaration of 'idtype_t' from
> > | sys/types.h with POSIX sys/wait.h
> > | Date: Sun, 11 Oct 2015 00:14:09 +0000
> > |
> > | On Fri, Sep 11, 2015 at 08:00:01AM +0000, Heiko%hexco.de@localhost wrote:
> > | > while the declaration according to POSIX is in sys/wait.h and has a
> > | > different meaning.
> > |
> > | Apparently POSIX or somebody went and invented a "waitid" call that
> > | uses this type. We don't have any such call.
> > |
> > | Is this something we need to have, or is it a posix_mistake?
> > We need to have it... I started on it, but got interrupted.
Please note that the waitid() call was added in 1989 for SVr4, so it is *really*
Be careful not to use the current POSIX text to implement it as the POSIX text
One of the main intends is to avoid to mask the exit() code to 8 bits only.
The other is to return timing and other information at the same time. This
interfact is also used for SIGCHLD handlers, so a SIGCHLD handler already knows
the exit code and exit reason without a need to call waitid().
EMail:joerg%schily.net@localhost (home) Jörg Schilling D-13353 Berlin
joerg.schilling%fokus.fraunhofer.de@localhost (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'
Main Index |
Thread Index |