Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: poll() function



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:email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >poll() function (From: Ilfak Guilfanov <email@hidden>)
 >Re: poll() function (From: Paul Ripke <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.