summaryrefslogtreecommitdiffstats
path: root/doc/FileSystem.3
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2004-09-27 15:07:55 (GMT)
committervincentdarley <vincentdarley@noemail.net>2004-09-27 15:07:55 (GMT)
commit8f7f91ad678c3b891e91f274905737f7ae3e9669 (patch)
treea47e6ca3374a44c4c250333564876171fc1c120f /doc/FileSystem.3
parent3529ced25f20a92d6735c6357d44918efd47e0f8 (diff)
downloadtcl-8f7f91ad678c3b891e91f274905737f7ae3e9669.zip
tcl-8f7f91ad678c3b891e91f274905737f7ae3e9669.tar.gz
tcl-8f7f91ad678c3b891e91f274905737f7ae3e9669.tar.bz2
added missing Tcl_GlobTypeData documentation
FossilOrigin-Name: b0fe08733f44b597c043780037cfe047466c51c4
Diffstat (limited to 'doc/FileSystem.3')
-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