Reading from pipes (Unix)

When using gdk_input_add to monitor a pipe for reading my callback
function is called upon repeatedly. I only want it to be called once
when there is new data to be read from the pipe. How do I do this??

/Mikael Jonasson

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