We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47cf924 commit 61c2095Copy full SHA for 61c2095
file-api.tex
@@ -385,7 +385,7 @@
385
\pageref{MKFIFO}. Using an unnamed pipe is described later on page
386
\pageref{PIPE}.
387
\item A consumer is a process that opens a file/pipe for reading, a producer
388
-opens a file/pipe for writing.
+opens a file/pipe for writing.
389
\item It is possible to open a named pipe for reading and writing at the same
390
time. The same process thus can write to the pipe and then read the same data
391
from it.
@@ -419,6 +419,7 @@
419
Another possibility with named pipes:
420
421
\begin{verbatim}
422
+$ mkfifo fifo
423
$ while [ 1 ]; do cat /etc/passwd; done >> /tmp/bigpasswd
424
^C
425
$ read < fifo &
0 commit comments