aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-04-02 22:56:52 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-04-04 06:37:45 +0300
commit6d22cdfde8a2136080efba406d980ecac537b07d (patch)
treec784b3b7d4fcac934f0666a449bd2e216fab0af7 /doc/gawktexi.in
parentb332053a160357e6c30c22f9ca90af9129e4550b (diff)
downloadegawk-6d22cdfde8a2136080efba406d980ecac537b07d.tar.gz
egawk-6d22cdfde8a2136080efba406d980ecac537b07d.tar.bz2
egawk-6d22cdfde8a2136080efba406d980ecac537b07d.zip
Further doc on closing one end of a two-way pipe.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 4d2a76f3..e233a383 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -26603,6 +26603,12 @@ case @command{gawk} waits for the child process to exit, which may cause
your program to hang. (Thus, this particular feature is of much less
use in practice than being able to close the @code{"to"} end.)
+@quotation CAUTION
+It is a fatal error to write to the @code{"to"} end of a two-way
+pipe which has been closed. It is also a fatal error to read
+from the @code{"from"} end of a two-way pipe that has been closed.
+@end quotation
+
@cindex @command{gawk}, @code{PROCINFO} array in
@cindex @code{PROCINFO} array, and communications via ptys
You may also use pseudo-ttys (ptys) for