mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Document the FTS_ROOTPARENTLEVEL and FTS_ROOTLEVEL constants.
This commit is contained in:
parent
9356546b0a
commit
7d8983a292
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83722
@ -41,9 +41,9 @@
|
||||
.Sh LIBRARY
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/stat.h>
|
||||
.Fd #include <fts.h>
|
||||
.In sys/types.h
|
||||
.In sys/stat.h
|
||||
.In fts.h
|
||||
.Ft FTS *
|
||||
.Fn fts_open "char * const *path_argv" "int options" "int (*compar)(const FTSENT **, const FTSENT **)"
|
||||
.Ft FTSENT *
|
||||
@ -233,10 +233,14 @@ was found.
|
||||
The
|
||||
.Fa FTSENT
|
||||
structure representing the parent of the starting point (or root)
|
||||
of the traversal is numbered \-1, and the
|
||||
of the traversal is numbered
|
||||
.Dv FTS_ROOTPARENTLEVEL
|
||||
(\-1), and the
|
||||
.Fa FTSENT
|
||||
structure for the root
|
||||
itself is numbered 0.
|
||||
itself is numbered
|
||||
.Dv FTS_ROOTLEVEL
|
||||
(0).
|
||||
.It Fa fts_errno
|
||||
Upon return of a
|
||||
.Fa FTSENT
|
||||
|
Loading…
Reference in New Issue
Block a user