diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-08 06:06:56 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-08 06:06:56 +0200 |
commit | 6237311c0af460dd0ff5cf2ed4f935a33386375c (patch) | |
tree | f4772f1a5f1f211badb41b6758180e2fce2c6ee4 /doc/gawk.texi | |
parent | b108a3ba2ab12dd7274589c6fe09c882df02827c (diff) | |
download | egawk-6237311c0af460dd0ff5cf2ed4f935a33386375c.tar.gz egawk-6237311c0af460dd0ff5cf2ed4f935a33386375c.tar.bz2 egawk-6237311c0af460dd0ff5cf2ed4f935a33386375c.zip |
Commit generated doc from previous commit.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index 67077117..615330d1 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -4550,6 +4550,8 @@ wait for input before returning with an error. Controls the number of times @command{gawk} attempts to retry a two-way TCP/IP (socket) connection before giving up. @xref{TCP/IP Networking}. +Note that when nonfatal I/O is enabled (@pxref{Nonfatal}), +@command{gawk} only tries to open a TCP/IP socket once. @item POSIXLY_CORRECT Causes @command{gawk} to switch to POSIX-compatibility @@ -10500,6 +10502,14 @@ For standard output, you may use @code{PROCINFO["-", "NONFATAL"]} or @code{PROCINFO["/dev/stdout", "NONFATAL"]}. For standard error, use @code{PROCINFO["/dev/stderr", "NONFATAL"]}. +When attempting to open a TCP/IP socket (@pxref{TCP/IP Networking}), +@command{gawk} tries multiple times. The @env{GAWK_SOCK_RETRIES} +environment variable (@pxref{Other Environment Variables}) allows you to +override @command{gawk}'s builtin default number of attempts. However, +once nonfatal I/O is enabled for a given socket, @command{gawk} only +retries once, relying on @command{awk}-level code to notice that there +was a problem. + @node Output Summary @section Summary |