diff options
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 |