Print this page
1438 ftw(3C) should mention `quit' member of struct FTW and possible values

@@ -247,15 +247,39 @@
 The fourth argument is a pointer to an \fBFTW\fR structure that contains the
 following members:
 .sp
 .in +2
 .nf
+int   quit;
 int   base;
 int   level;
 .fi
 .in -2
 
+The \fBquit\fR member has a default value of \fI0\fR, but can be set to the
+following values:
+.RS
+
+.sp
+.ne 2
+.na
+\fB\fBFTW_SKIP\fR\fR or \fB\fBFTW_PRUNE\fR\fR
+.ad
+.RS 11n
+This object and its descendants are pruned from the search.
+.RE
+
+.sp
+.ne 2
+.na
+\fB\fBFTW_FOLLOW\fR\fR
+.ad
+.RS 11n
+If this object is a symbolic link, follow the link to its physical counterpart.
+.RE
+
+.sp
 The \fBbase\fR member is the offset of the object's filename in the pathname
 passed as the first argument to \fIfn\fR(). The value of \fBlevel\fR indicates
 the depth relative to the root of the walk, where the root level is 0.
 .sp
 The results are unspecified if the application-supplied \fIfn\fR() function