diff options
Diffstat (limited to 'extension/readdir.3am')
-rw-r--r-- | extension/readdir.3am | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/extension/readdir.3am b/extension/readdir.3am index 5f6ae06f..9cb4862e 100644 --- a/extension/readdir.3am +++ b/extension/readdir.3am @@ -1,4 +1,4 @@ -.TH READDIR 3am "Aug 08 2012" "Free Software Foundation" "GNU Awk Extension Modules" +.TH READDIR 3am "Aug 23 2012" "Free Software Foundation" "GNU Awk Extension Modules" .SH NAME readdir \- directory input parser for gawk .SH SYNOPSIS @@ -49,7 +49,20 @@ causes the extension to use to retrieve the appropriate information. This is not the default, since .IR stat (2) is a potentially expensive operation. -... .SH NOTES +.SH NOTES +On GNU/Linux systems, there are filesystems that don't support the +.B d_type +entry (see +.IR readdir (3)), +and so the file type is always +.BR u . +Therefore, using +.B readdir_do_ftype(1) +is advisable even on GNU/Linux systems. In this case, the +.I readdir +extension will fall back to using +.IR stat (2) +when it encounters an unknown file type. ... .SH BUGS .SH EXAMPLE .ft CW |