diff options
author | john haque <j.eh@mchsi.com> | 2012-02-03 09:20:53 -0600 |
---|---|---|
committer | john haque <j.eh@mchsi.com> | 2012-02-03 09:20:53 -0600 |
commit | 7ae469692932aae4a587f746dbff61c1d8b12eb9 (patch) | |
tree | 90ab4643d22beda1da60d8bdf4138b278a883dc4 /doc/gawk.1 | |
parent | b3dcc664da5e5234af8fbc1e2725788b614c747c (diff) | |
download | egawk-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.1 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |