aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-03-08 06:06:19 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-03-08 06:06:19 +0200
commitb108a3ba2ab12dd7274589c6fe09c882df02827c (patch)
treeacc493b1eb37c9e9a3144e388aa341b20fbb6a3d /doc/gawktexi.in
parentb8ba9836e05eb96daeed9614f045f5b81a826730 (diff)
downloadegawk-b108a3ba2ab12dd7274589c6fe09c882df02827c.tar.gz
egawk-b108a3ba2ab12dd7274589c6fe09c882df02827c.tar.bz2
egawk-b108a3ba2ab12dd7274589c6fe09c882df02827c.zip
Make nonfatal override GAWK_SOCK_RETRIES. Document it.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 1b99b5bc..8612876e 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -4461,6 +4461,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
@@ -9996,6 +9998,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