There are actually two mechanisms for programmatically reading directories that I know of in Linux. The first one, ftw(), is a standard one that is supported in generic UNIX systems as well. The second one opendir() and readdir() I believe are Linux specific. You can man each of the functions in order to determine which mechanism will work best for your application.
Sorry, too early in the morning without my coffee. I just noticed you were asking about Windows functions. Sorry, I can't help you there.
Last edited by rstewart; 08-01-2005 at 10:13 AM.
|