Path: utzoo!attcan!uunet!jarthur!mti!adrian From: adrian@mti.mti.com (Adrian McCarthy) Newsgroups: comp.lang.c Subject: Re: Wildcard expansion in VAX C? Message-ID: <915@mti.mti.com> Date: 22 Feb 90 18:06:33 GMT References: <8092@lindy.Stanford.EDU> Reply-To: adrian@mti.UUCP (Adrian McCarthy) Organization: Micro Technology, Anaheim, CA Lines: 14 In article <8092@lindy.Stanford.EDU> LC.YRS@forsythe.stanford.edu (Richard Stanton) writes: >I am looking for a routine to handle wildcard expansion in VAX C. I >have source for such a beast on my PC, but it is presumably PC >specific. SInce I don't know much about VAX/VMS directory structure >etc, it would be very helpful if someone out there has already >written such a routine. Look into using the LIB$FIND_FILE routine. You can just pass it your wildcarded specification, and you'll get back complete specifications of all matching files. It will work just like all the VAX programs (like DIRECTORY, SEARCH, etc.) since they use the same routine. Aid.