From 2277c5d7bbe1f9595fad512d8f790708473a9bf1 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 21 Mar 2004 04:33:13 +0000 Subject: Small tweaks Lots of new code imported. --- src/lib9/pipe.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib9/pipe.c') diff --git a/src/lib9/pipe.c b/src/lib9/pipe.c index f9fe2420..01b244ef 100644 --- a/src/lib9/pipe.c +++ b/src/lib9/pipe.c @@ -3,6 +3,11 @@ #include #include +/* + * We use socketpair to get a two-way pipe. + * The pipe still doesn't preserve message boundaries. + * Worse, it cannot be reopened via /dev/fd/NNN on Linux. + */ int p9pipe(int fd[2]) { -- cgit v1.2.3