Click to See Complete Forum and Search --> : search directory using wildcards


hokierob
February 3rd, 2005, 08:37 AM
I want to be able to pass a directory name and a "filter" to a program and have it return the matching listing. On windows this is easily accomplished using _findfirst and _findnext. Are there any equivalent methods on the Unix side. I am looking at opendir, and readdir but not sure if these will work with what I want to do. Thanks.

Andreas Masur
February 3rd, 2005, 08:47 AM
Take a look at the following thread (http://www.codeguru.com/forum/showthread.php?t=285893)...