07-21-04 10:58 PM
James Antill wrote:
> On Tue, 20 Jul 2004 14:35:28 -0600, brian wrote:
>
>
>
>
> It's old, the "std" now is to use nftw (it's in SuS -- as is the older
> version ftw). However due to security/portability problems with all the
> path walking libc code it tends to still be done by hand.
>
Thanks. I am walking through the source code of all the basic commands
in openBSD, and I was curious since I had never seen FTS before. The
man page gave me pretty sufficient information as to it FTS's use, and
the source code for fts (fts.c) helped out a lot to.
So I should be looking at nftw to traverse paths now? There are always
the system calls to, I guess. I'm sure I will run into more old and odd
functions when I start to dig into the kernel and the IP stack.
thanks,
brian
[ Post a follow-up to this message ]
|