aboutsummaryrefslogtreecommitdiffstats
path: root/extension/filefuncs.3am
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-08-08 22:37:55 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-08-08 22:37:55 +0300
commit88e81c931345aa485e55c6d6c7f3ad61dc200fed (patch)
treed60d541708572c7944ab0b385ba261153e6fd6cd /extension/filefuncs.3am
parent30bb821bad107a676c1d0f0688f90b2b7e6c7505 (diff)
downloadegawk-88e81c931345aa485e55c6d6c7f3ad61dc200fed.tar.gz
egawk-88e81c931345aa485e55c6d6c7f3ad61dc200fed.tar.bz2
egawk-88e81c931345aa485e55c6d6c7f3ad61dc200fed.zip
Add fts() extension, support, doc, and test.
Diffstat (limited to 'extension/filefuncs.3am')
-rw-r--r--extension/filefuncs.3am9
1 files changed, 7 insertions, 2 deletions
diff --git a/extension/filefuncs.3am b/extension/filefuncs.3am
index bdb8fe52..79694370 100644
--- a/extension/filefuncs.3am
+++ b/extension/filefuncs.3am
@@ -187,17 +187,22 @@ or
.B FTS_PHYSICAL
must be provided; otherwise
.B fts()
-returns an error value.
+returns an error value and sets
+.BR ERRNO .
.RS
.TP
.B FTS_LOGICAL
Do a ``logical'' file traversal, where the information returned for
a symbolic link refers to the linked-to file, and not to the
symbolic link itself.
+This flag is mutually exclusive with
+.BR FTS_PHYSICAL .
.TP
.B FTS_PHYSICAL
Do a ``physical'' file traversal, where the information returned for
a symbolic link refers to the symbolic link itself.
+This flag is mutually exclusive with
+.BR FTS_LOGICAL .
.TP
.B FTS_NOCHDIR
As a performance optimization, the
@@ -240,7 +245,7 @@ There are two cases.
.RS
.TP
The path is a file.
-In this case, the array contains at two or three elements:
+In this case, the array contains two or three elements:
.RS
.TP
\fB"path"\fP