Docs » Autodocs » dos.library » MatchNext
MatchNext - Finds the next file or directory that matches pattern (V36)
error = MatchNext(AnchorPath) D0 D1 LONG MatchNext(struct AnchorPath *)
Locates the next file or directory that matches a given pattern. See <dos/dosasl.h> for more information. Various bits in the flags allow the application to control the operation of MatchNext(). See MatchFirst() for other notes.
AnchorPath - Place holder for search. MUST be longword aligned!
error - 0 for success or error code. (Opposite of most Dos calls)
See MatchFirst().
MatchFirst(), ParsePattern(), Examine(), CurrentDir(), Examine(), MatchEnd(), ExNext(), <dos/dosasl.h>
|