Mail Archives: djgpp/2001/09/11/02:05:44
Thank you Eli
Took a few hrs but finally got it working.
I believe I found a problem with the INFO-Glob. At the end of the
Example where it has the command. globfree(&glob_results); caused a
program crashed. Changed to
globfree(&glob_results.gl_pathv); With this the program works ok.
again thanks.
HAGD Vince....
On Fri, 07 Sep 2001 22:52:55 +0300 "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
writes:
>> Date: Fri, 7 Sep 2001 12:07:43 -0700
>> From: Vince D McCarthy <vmccar AT juno DOT com>
>>
>> I would appreciate any help on a project I have been working on. I
>> am trying to find a command to check a directory for only one type
>> of extension i.e@ *.exe. I would like to use a wild card for just
>> .exe extensions instead of every file in the directory. I have used
>> dirent.h and dir.h, but they don't have what I need.
>
>You want the library function `glob', I think.
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
- Raw text -