~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to doc/gawktexi.in

  • Committer: Arnold D. Robbins
  • Date: 2019-11-03 17:49:34 UTC
  • Revision ID: git-v1:e6b8d8dcc8bf46028c2e26586afb1cd6ea184a59
Doc update w.r.t. readdir extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36938
36938
@code{stat()} in order to get correct type information.
36939
36939
@end quotation
36940
36940
 
 
36941
By default, if a directory cannot be opened (due to permission problems,
 
36942
for example), @command{gawk} will exit.  As with regular files, this
 
36943
situation can be handled using a @code{BEGINFILE} rule that checks
 
36944
@code{ERRNO} and prints an error or otherwise handles the problem.
 
36945
 
36941
36946
Here is an example:
36942
36947
 
36943
36948
@example