Re: gtk_input_add_full() and marshalling
- From: Paul Davis <pbd Op Net>
- To: Andrei Zmievski <andrei ispi net>
- Cc: gtk-list gnome org
- Subject: Re: gtk_input_add_full() and marshalling
- Date: Wed, 10 Apr 2002 11:15:38 -0400
>> 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.
what type of file are you using? from what i can tell, this should
only request POLLIN and i don't know of anything that would return
POLLIN at EOF.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]