diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-11-03 19:49:34 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-11-03 19:49:34 +0200 |
commit | e6b8d8dcc8bf46028c2e26586afb1cd6ea184a59 (patch) | |
tree | 9135d98cd1f5b9527872f1d07f786915d7c77c84 /doc/gawk.texi | |
parent | 6c6a2a5bb7769a3ff987ccc51531ce9fc22602c4 (diff) | |
download | egawk-e6b8d8dcc8bf46028c2e26586afb1cd6ea184a59.tar.gz egawk-e6b8d8dcc8bf46028c2e26586afb1cd6ea184a59.tar.bz2 egawk-e6b8d8dcc8bf46028c2e26586afb1cd6ea184a59.zip |
Doc update w.r.t. readdir extension.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index 55aa8ce1..2ae6d564 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -37967,6 +37967,11 @@ type is always @samp{u}. You can use the @code{filefuncs} extension to call @code{stat()} in order to get correct type information. @end quotation +By default, if a directory cannot be opened (due to permission problems, +for example), @command{gawk} will exit. As with regular files, this +situation can be handled using a @code{BEGINFILE} rule that checks +@code{ERRNO} and prints an error or otherwise handles the problem. + Here is an example: @example |