From 88406011aade95eec8726111b722674dd2f4e944 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 20 Sep 2001 12:32:45 +0000 Subject: Document the FTS_ROOTPARENTLEVEL and FTS_ROOTLEVEL constants. --- lib/libc/gen/fts.3 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index b453ef0..1e40a81 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -41,9 +41,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include -.Fd #include -.Fd #include +.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 -- cgit v1.1