Message-Id: <199902180438.EAA16396@out1.ibm.net> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Wed, 17 Feb 1999 23:38:41 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: find_first In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp-workers AT delorie DOT com > > 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/