Re: poll and stdin
Re: poll and stdin
- Subject: Re: poll and stdin
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 18 Apr 2006 20:16:08 -0700
On Apr 18, 2006, at 17:56 , Ian Lister wrote:
On Tue, 18 Apr 2006, Michael Tuexen wrote:
Is it a feature or a bug of Tiger that poll() does not support stdin?
It's an unfortunate but known bug in Tiger, introduced by switching
poll() from an underlying select-based mechanism to a kqueue-based
mechanism. Kqueue in OS X does not work on devices such as
terminals (regardless of what file descriptor they're assigned).
There's an issue with binary compatibility inside the kernel that
prevented it being fixed in Tiger, but hopefully it can be sorted
in Leopard because it's an ongoing headache.
Is that why the POLLNVAL bit is set on return?
Regards,
Justin
--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden