Re: [gtkmm] IOCondition holds illegal values



>gtkmm-1.3.21.
>
>My callback function tests for all six enumerations for
>Glib::IOCondition.
>
>In the case of a file descriptor that is a pipe to a dead child, I am
>getting values '20' and '12', which match none of IO_IN, IO_OUT,
>IO_PRI, IO_ERR, IO_HUP, or IO_NVAL.

the condition value is a bitmask. the values you've seen mean that
more than one condition is set, i would imagine.

--p 



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