diff options
author | ru <ru@FreeBSD.org> | 2001-09-20 12:32:45 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-09-20 12:32:45 +0000 |
commit | 88406011aade95eec8726111b722674dd2f4e944 (patch) | |
tree | cb07d26afacae70bfeba730cabe5163cec76ece5 /lib/libc/gen/fts.3 | |
parent | 68d1e526050b19fca5e7f54ddd8617180d8c4526 (diff) | |
download | FreeBSD-src-88406011aade95eec8726111b722674dd2f4e944.zip FreeBSD-src-88406011aade95eec8726111b722674dd2f4e944.tar.gz |
Document the FTS_ROOTPARENTLEVEL and FTS_ROOTLEVEL constants.
Diffstat (limited to 'lib/libc/gen/fts.3')
-rw-r--r-- | lib/libc/gen/fts.3 | 14 |
1 files changed, 9 insertions, 5 deletions
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 <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 |