Re: gtk_input_add_full() and marshalling



On Wed, 10 Apr 2002, Paul Davis wrote:
> glib uses poll(2) to detect the state of the file referred to by the
> descriptor. it also detects POLLHUP as far as i recall. so what
> happens at EOF depends a lot on how the underlying file behaves
> (e.g. if its a device, what does it return to poll(2) at EOF). what
> conditions are you explicitly asking for?

Just GDK_INPUT_READ.

-Andrei
* "UNIX, isn't that some archaic form of DOS?" - our job applicant *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]