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: poll and stdin



On Tue, 18 Apr 2006, Justin C. Walker wrote:
Of course. Who would ever want to poll for input on a tty device?

Real programmers just know when there is input waiting.

I should mention you can still use select(); it's just poll() and kqueue that you can't use if you need to be able to support such a device.

Cheers,

Ian
_______________________________________________
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 and stdin (From: Michael Tuexen <email@hidden>)
 >Re: poll and stdin (From: Ian Lister <email@hidden>)
 >Re: poll and stdin (From: "Justin C. Walker" <email@hidden>)
 >Re: poll and stdin (From: Ian Lister <email@hidden>)
 >Re: poll and stdin (From: "Justin C. Walker" <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.