diff options
Diffstat (limited to 'src/lib9/pipe.c')
-rw-r--r-- | src/lib9/pipe.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <libc.h> #include <sys/socket.h> +/* + * 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]) { |