Re: problem opening multiple pipes with pipe(2) in 2.4.1[78]

From: Doug McNaught (doug@mcnaught.org)
Date: Tue Oct 22 2002 - 07:43:23 EST


sean finney <seanius@seanius.net> writes:

> right. the perror() giving nonsensical results wasn't the cause of my
> problem of course, i was just trying to use it to find out why the pipe
> didn't seem to work. turns out that i missed the forest for the trees;
> the pipe was being opened for writing from the wrong end...
>
> (as a side note, the code in question was written on a solaris box, and
> it seems to Just Work in the wrong direction there, go fig.)

SysV pipes are bidirectional.

-Doug
-
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 : Wed Oct 23 2002 - 22:00:58 EST