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

From: Jean Tourrilhes (jt@bougret.hpl.hp.com)
Date: Wed Aug 14 2002 - 13:54:05 EST


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/



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