aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.1
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-02-03 09:20:53 -0600
committerjohn haque <j.eh@mchsi.com>2012-02-03 09:20:53 -0600
commit7ae469692932aae4a587f746dbff61c1d8b12eb9 (patch)
tree90ab4643d22beda1da60d8bdf4138b278a883dc4 /doc/gawk.1
parentb3dcc664da5e5234af8fbc1e2725788b614c747c (diff)
downloadegawk-7ae469692932aae4a587f746dbff61c1d8b12eb9.tar.gz
egawk-7ae469692932aae4a587f746dbff61c1d8b12eb9.tar.bz2
egawk-7ae469692932aae4a587f746dbff61c1d8b12eb9.zip
Read timeout documentation and bug fix.
Diffstat (limited to 'doc/gawk.1')
-rw-r--r--doc/gawk.112
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/gawk.1 b/doc/gawk.1
index 662ace35..eab20467 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -1129,6 +1129,14 @@ corresponding values of the two elements being compared.
It should return a number less than, equal to, or greater than 0,
depending on how the elements of the array are to be ordered.
.TP
+\fBPROCINFO["input", "READ_TIMEOUT"]\fP
+specifies the timeout in milliseconds for reading data from
+.I input
+, where
+.I input
+is a redirection string or a filename. A value of zero or
+less than zero means no timeout.
+.TP
\fBPROCINFO["version"]\fP
the version of
.IR gawk .
@@ -3587,6 +3595,10 @@ and
.B \-\^\-file
options.
.PP
+The GAWK_READ_TIMEOUT environment variable can be used to specify a timeout
+in milliseconds for reading input from a terminal, pipe
+or two-way communication including sockets.
+.PP
For socket communication, two special environment variables can be used to control the number of retries
.RB ( GAWK_SOCK_RETRIES ),
and the interval between retries