aboutsummaryrefslogtreecommitdiff
path: root/man/man3/pipe.3
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
commit94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14 (patch)
treead1ad80ee9a4e0ae97451c94a7cf455d3068951b /man/man3/pipe.3
parent7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (diff)
parent2991442aef1cf020ffde43673433ee97ef322a53 (diff)
downloadplan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.gz
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.bz2
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'man/man3/pipe.3')
-rw-r--r--man/man3/pipe.314
1 files changed, 7 insertions, 7 deletions
diff --git a/man/man3/pipe.3 b/man/man3/pipe.3
index 10decb69..ef4de313 100644
--- a/man/man3/pipe.3
+++ b/man/man3/pipe.3
@@ -25,7 +25,7 @@ is available for reading from
After the pipe has been established,
cooperating processes
created by subsequent
-.IR fork (2)
+.MR fork (2)
calls may pass data through the
pipe with
.I read
@@ -53,14 +53,14 @@ calls.
.\" .IR stat (3)).
.PP
When all the data has been read from a pipe and the writer has closed the pipe or exited,
-.IR read (3)
+.MR read (3)
will return 0 bytes. Writes to a pipe with no reader will generate a note
.BR "sys: write on closed pipe" .
.SH SOURCE
.B \*9/src/lib9/pipe.c
.SH SEE ALSO
-.IR intro (3),
-.IR read (3)
+.MR intro (3) ,
+.MR read (3)
.SH DIAGNOSTICS
Sets
.IR errstr .
@@ -79,7 +79,7 @@ Unix pipes are not guaranteed to be bidirectional.
In order to ensure a bidirectional channel,
.I p9pipe
creates Unix domain sockets via the
-.IR socketpair (2)
+.MR socketpair (2)
instead of Unix pipes.
.PP
The implementation of pipes as Unix domain sockets
@@ -89,11 +89,11 @@ Unix's dup device. If a Unix domain socket is open as file
descriptor 0, some implementations disallow the opening of
.BR /dev/fd/0 ;
instead one must
-.IR connect (2)
+.MR connect (2)
to it.
If this functionality is important
(as it is for
-.IR rc (1)),
+.MR rc (1) ),
one must
.B #undef
.B pipe