Newer
Older
Microsoft / wildcard / WILDCARD.C
@tundra tundra on 24 May 2012 399 bytes Initial revision
/*	WILDCARD.C - Uses the filefind routines to return wildcard matches.
			Last Modified:	02/19/87
			Copyright (C) 1987, By T.A. Daneliuk
*/

#include	<filefind.h>


int	wildcard(fn,dta,first)
char	*fn;
struct	DataArea	*dta;
int		first;

{

if (first)												/* New wildcard spec */
	{
	SetDta(dta);
	return(FindFirst(fn,F_NORMAL));
	}
else
	return(FindNext(F_NORMAL));
}