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

Jean Tourrilhes (jt@bougret.hpl.hp.com)
Wed, 14 Aug 2002 11:54:05 -0700


On Wed, Aug 14, 2002 at 02:43:01PM -0400, Richard B. Johnson wrote:
> 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);

Same error. Please try again.

Jean
-
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/