9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ape buglet (maybe)
@ 2003-01-24 17:07 steve.simon
  2003-01-27 10:29 ` Douglas A. Gwyn
  0 siblings, 1 reply; 2+ messages in thread
From: steve.simon @ 2003-01-24 17:07 UTC (permalink / raw)
  To: 9fans

Hi,

I have come widely used code I'am trying to port (imake) which relies on
wait(2) [IE ape's wait] returning -1 if the current process has no children.

I can fix this easily in the application but I think the bug is in ape.

I cannot find a definitive answer on the net; so anyone got a copy of the POSIX
documents to hand?

-Steve



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] ape buglet (maybe)
  2003-01-24 17:07 [9fans] ape buglet (maybe) steve.simon
@ 2003-01-27 10:29 ` Douglas A. Gwyn
  0 siblings, 0 replies; 2+ messages in thread
From: Douglas A. Gwyn @ 2003-01-27 10:29 UTC (permalink / raw)
  To: 9fans

steve.simon@snellwilcox.com wrote:
> I have come widely used code I'am trying to port (imake) which relies on
> wait(2) [IE ape's wait] returning -1 if the current process has no children.
> I can fix this easily in the application but I think the bug is in ape.
> I cannot find a definitive answer on the net; so anyone got a copy of the POSIX
> documents to hand?

Strange; it took me about 5 seconds to locate the wait(2)
manual page for Open Unix 8.0 from the Caldera Web site:

"If wait returns due to a stopped or terminated child process,
the process ID of the child is returned to the calling process.
Otherwise, wait returns -1 and sets errno to identify the error."

"ECHILD: The calling process has no existing unwaited-for child
processes."


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-27 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-24 17:07 [9fans] ape buglet (maybe) steve.simon
2003-01-27 10:29 ` Douglas A. Gwyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).