ftw.3 (16a97b8591d5bdd7ddaf6ab8699ee5325671908d) ftw.3 (0aee91e1fb311f4f92779bb2c7ef0c1fe10d8d35)
1.\" $OpenBSD: ftw.3,v 1.5 2004/01/25 14:48:32 jmc Exp $
2.\"
3.\" Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"

--- 73 unchanged lines hidden (view full) ---

82A regular file.
83.It Dv FTW_D
84A directory being visited in pre-order.
85.It Dv FTW_DNR
86A directory which cannot be read.
87The directory will not be descended into.
88.It Dv FTW_DP
89A directory being visited in post-order
1.\" $OpenBSD: ftw.3,v 1.5 2004/01/25 14:48:32 jmc Exp $
2.\"
3.\" Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"

--- 73 unchanged lines hidden (view full) ---

82A regular file.
83.It Dv FTW_D
84A directory being visited in pre-order.
85.It Dv FTW_DNR
86A directory which cannot be read.
87The directory will not be descended into.
88.It Dv FTW_DP
89A directory being visited in post-order
90.Fn ( nftw
91only).
90.Po Fn nftw
91only
92.Pc .
92.It Dv FTW_NS
93A file for which no
94.Xr stat 2
95information was available.
96The contents of the
97.Vt stat
98structure are undefined.
99.It Dv FTW_SL
100A symbolic link.
101.It Dv FTW_SLN
102A symbolic link with a non-existent target
93.It Dv FTW_NS
94A file for which no
95.Xr stat 2
96information was available.
97The contents of the
98.Vt stat
99structure are undefined.
100.It Dv FTW_SL
101A symbolic link.
102.It Dv FTW_SLN
103A symbolic link with a non-existent target
103.Fn ( nftw
104only).
104.Po Fn nftw
105only
106.Pc .
105.El
106.Pp
107The
108.Fn ftw
109function traverses the tree in pre-order.
110That is, it processes the directory before the directory's contents.
111.Pp
112The

--- 104 unchanged lines hidden ---
107.El
108.Pp
109The
110.Fn ftw
111function traverses the tree in pre-order.
112That is, it processes the directory before the directory's contents.
113.Pp
114The

--- 104 unchanged lines hidden ---