NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: standards/51024 (NetBSD misses the mandatory waitid() syscall)



The following reply was made to PR standards/51024; it has been noted by GNATS.

From: Joerg Schilling <Joerg.Schilling%fokus.fraunhofer.de@localhost>
To: <standards-manager%netbsd.org@localhost>, <netbsd-bugs%netbsd.org@localhost>,
        <gnats-bugs%netbsd.org@localhost>, <gnats-admin%netbsd.org@localhost>
Cc: 
Subject: Re: standards/51024 (NetBSD misses the mandatory waitid() syscall)
Date: Wed, 20 Apr 2016 14:31:43 +0200

 Christos Zoulas <christos%zoulas.com@localhost> wrote:
 
 > The following reply was made to PR standards/51024; it has been noted by GNATS.
 >
 > From: christos%zoulas.com@localhost (Christos Zoulas)
 > To: gnats-bugs%NetBSD.org@localhost, standards-manager%netbsd.org@localhost, 
 > 	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
 > 	joerg.schilling%fokus.fraunhofer.de@localhost
 > Cc: 
 > Subject: Re: standards/51024 (NetBSD misses the mandatory waitid() syscall)
 > Date: Wed, 20 Apr 2016 08:15:10 -0400
 >
 >  On Apr 20,  8:55am, dholland-bugs%netbsd.org@localhost (David Holland) wrote:
 >  -- Subject: Re: standards/51024 (NetBSD misses the mandatory waitid() syscall
 >  
 >  |  Am I supposed to interpret this to *prohibit* wait() from returning
 >  |  more than 8 bits of status?
 >  |  
 >  |  That is... stupid.
 >  
 >  There is no place to put it by the ABI...
 
 Well, not really. OS X puts 16 more bits from the child's exit code in and thus 
 returns up to 24 bits from the exit code if you shift down the upper 16 bits 
 from the int and add the result to the low 8 bits.
 
 Given that this is not enough for POSIX, it can be seen as a nice hack only.
 
 Jörg
 
 -- 
  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/'
 



Home | Main Index | Thread Index | Old Index