Mail Archives: djgpp-workers/1999/02/17/23:38:38
> > What is the ANSI C equivelant of 'find_first()' for finding files that
> > match a pattern. I am writing a tool (in DJGPP) which must run in
> > ms-dos and unix platforms.
> >
>
> I, too, am working on such a utility. But, I am not stuck with ANSI C. At
How about fnmatch? It's not ANSI but it is POSIX, and it accepts a
pattern. In combination with the opendir functions, it may be what you're
looking for. Check libc.info for details.
Mark
---
Mark Elbrecht snowball3 AT usa DOT net
http://members.xoom.com/snowball3/
- Raw text -