TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Joshua Marshall
from: Paul Edwards
date: 1996-04-17 19:11:38
subject: Wildcards

JM> I am looking for some ANSI C code that will allow me to get all the files 
JM> in a directory that match a certain wildcard.

JM> It has to be portable.

Directories are not something that are in the ISO C standard, so 
you can't do it portably.  It is part of Posix though, and you
will find some posix routines in snippets.  However, Posix is not
all that common.  So I use trav().  What I should do is add the
posix traversal stuff to trav() (in OZPD).  However, you may like
to do that and send me the changed code?  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.