Wildcard expansion in VAX C?

Adrian McCarthy adrian at mti.mti.com
Fri Feb 23 05:06:33 AEST 1990


In article <8092 at lindy.Stanford.EDU> LC.YRS at 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.



More information about the Comp.lang.c mailing list