Date: Wed, 27 Jan 1999 15:16:23 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Charles Henrich <henrich@flnet.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Telldir() Message-ID: <199901272316.PAA69858@apollo.backplane.com>
next in thread | raw e-mail | index | archive | help
:In the past I have used telldir() in recursive directory can tools to keep my :position in the directory stream known, so that I could close the directory :and move into the subdirectory (recursivly). I've just noticed that in :FreeBSD 2.2.7 [I dont know when this feature came into play] that telldir() is :no longer accurate across an open/closedir() call. This begs the question, :how the heck do you do directory scans in a portable way now with FreeBSD? : :-Crh : : Charles Henrich Manex Visual Effects henrich@flnet.com : : http://orbit.flnet.com/~henrich Just use nested opendir()'s and recursion ... that's what everyone uses as far as I know. -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901272316.PAA69858>