*getsockopt*, of all things?
*getsockopt*, of all things?
Posted Jul 2, 2009 18:05 UTC (Thu) by quotemstr (subscriber, #45331)In reply to: *getsockopt*, of all things? by RobSeace
Parent article: The fanotify API
giving the filename and letting the app do its own openRacetastic, yes?
select()/poll() gets kluged up to falsely indicate readabilityWell, to be fair, select even on ordinary objects doesn't indicate readability. It's more like "it might have been readable sometime in the recent past, if you're lucky". That's why you always call select() on non-blocking sockets, and why you always prepare to get EAGAIN even after select() reports a file descriptor to be readable.
