Re: Problem : can't make pipe non-blocking on 2.5.X

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Wed Aug 14 2002 - 13:43:01 EST


On Wed, 14 Aug 2002, Jean Tourrilhes wrote:

>
> pipe(trigger_pipe);
>
    if((flags = fcntl(trigger_pipe[0], F_GETFL)) != -1);
       flags &= ~O_NDELAY;
    fcntl(trigger_pipe[0], F_SETFL, flags);
 

Cheers,
Dick Johnson
Penguin : Linux version 2.4.19 on an i686 machine (797.90 BogoMips).
The US military has given us many words, FUBAR, SNAFU, now ENRON.
Yes, top management were graduates of West Point and Annapolis.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:37 EST