summaryrefslogtreecommitdiff
path: root/manual/pipe.texi
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-15 23:05:44 +0000
committerRoland McGrath <roland@gnu.org>1996-05-15 23:05:44 +0000
commit46d9215f3bda283a75f9a64f59bf5973245ec1ba (patch)
treecc32a32a860375ff41cc0b83d12823a9f5edb49e /manual/pipe.texi
parent0adc881c60ffe16efc315b0982efcdb6b51fba60 (diff)
downloadglibc-46d9215f3bda283a75f9a64f59bf5973245ec1ba.tar.gz
Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/examples/longopt.c: Include stdlib.h and getopt.h.
Diffstat (limited to 'manual/pipe.texi')
-rw-r--r--manual/pipe.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/manual/pipe.texi b/manual/pipe.texi
index 773dc4aac8..274b93d427 100644
--- a/manual/pipe.texi
+++ b/manual/pipe.texi
@@ -113,7 +113,7 @@ function; see @ref{Running a Command}. It executes the shell command
command to complete, it creates a pipe to the subprocess and returns a
stream that corresponds to that pipe.
-If you specify a @var{mode} argument of @code{"r"}, you can read from the
+If you specify a @var{mode} argument of @code{"r"}, you can read from the
stream to retrieve data from the standard output channel of the subprocess.
The subprocess inherits its standard input channel from the parent process.
@@ -193,11 +193,11 @@ system.
@section Atomicity of Pipe I/O
Reading or writing pipe data is @dfn{atomic} if the size of data written
-is less than @code{PIPE_BUF}. This means that the data transfer seems
-to be an instantaneous unit, in that nothing else in the system can
-observe a state in which it is partially complete. Atomic I/O may not
-begin right away (it may need to wait for buffer space or for data), but
-once it does begin, it finishes immediately.
+is not greater than @code{PIPE_BUF}. This means that the data transfer
+seems to be an instantaneous unit, in that nothing else in the system
+can observe a state in which it is partially complete. Atomic I/O may
+not begin right away (it may need to wait for buffer space or for data),
+but once it does begin, it finishes immediately.
Reading or writing a larger amount of data may not be atomic; for
example, output data from other processes sharing the descriptor may be