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: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: standards/51024 (NetBSD misses the mandatory waitid() syscall)
Date: Wed, 20 Apr 2016 08:50:11 +0000

 On Mon, Apr 04, 2016 at 04:10:01PM +0000, Joerg Schilling wrote:
  >    The value of status may be 0, EXIT_SUCCESS, EXIT_FAILURE, or any other 
  >    value, though only the least significant 8 bits (that is, status & 0377)
  >    shall be available from wait() and waitpid(); the full value shall
  >    be available from waitid() and in the siginfo_t passed to a
  >    signal handler for SIGCHLD.
 
 Am I supposed to interpret this to *prohibit* wait() from returning
 more than 8 bits of status?
 
 That is... stupid.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index