summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-09-27 15:07:56 (GMT)
committervincentdarley <vincentdarley>2004-09-27 15:07:56 (GMT)
commit8089322eae4074cd7cec783ef2fa50e4600064b9 (patch)
treea47e6ca3374a44c4c250333564876171fc1c120f /doc
parent6fcff1d789f4f9d4fb6336668edfaba407b4dddb (diff)
downloadtcl-8089322eae4074cd7cec783ef2fa50e4600064b9.zip
tcl-8089322eae4074cd7cec783ef2fa50e4600064b9.tar.gz
tcl-8089322eae4074cd7cec783ef2fa50e4600064b9.tar.bz2
added missing Tcl_GlobTypeData documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/FileSystem.317
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3
index bfc1d75..b7f1602 100644
--- a/doc/FileSystem.3
+++ b/doc/FileSystem.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: FileSystem.3,v 1.47 2004/09/27 09:00:33 vincentdarley Exp $
+'\" RCS: @(#) $Id: FileSystem.3,v 1.48 2004/09/27 15:07:56 vincentdarley Exp $
'\"
.so man.macros
.TH Filesystem 3 8.4 Tcl "Tcl Library Procedures"
@@ -1092,6 +1092,21 @@ Note that if no matches are found, that simply leads to an empty
result --- errors are only signaled for actual file or filesystem
problems which may occur during the matching process.
.PP
+The \fBTcl_GlobTypeData\fR structure passed in the \fItypes\fR
+parameter contains the following fields:
+.CS
+typedef struct Tcl_GlobTypeData {
+ /* Corresponds to bcdpfls as in 'find -t' */
+ int \fItype\fR;
+ /* Corresponds to file permissions */
+ int \fIperm\fR;
+ /* Acceptable mac type */
+ Tcl_Obj *\fImacType\fR;
+ /* Acceptable mac creator */
+ Tcl_Obj *\fImacCreator\fR;
+} Tcl_GlobTypeData;
+.CE
+.PP
There are two specific cases which it is important to handle correctly,
both when \fItypes\fR is non-NULL. The two cases are when \fItypes->types
& TCL_GLOB_TYPE_DIR\fR or \fItypes->types & TCL_GLOB_TYPE_MOUNT\fR are