site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: Datarescue sa/nv Monday, July 31, 2006, 3:00:05 PM, you wrote:
I'm trying to read characters from the terminal while doing other things. The following simple program checks if a character is ready from the keyboard. For some reason it doesn't work.
PR> Maybe this is the cause? PR> http://lists.apple.com/archives/darwin-dev/2005/May/msg00220.html Thank you, it seems so. The poll() function is broken on x86 but it works well on PPC. I switched to the select() function and my application runs fine now. -- Best regards, Ilfak mailto:ig@datarescue.be _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Ilfak Guilfanov