Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 965 Bytes

MatchNext.md

File metadata and controls

38 lines (23 loc) · 965 Bytes

NAME

MatchNext - Finds the next file or directory that matches pattern (V36)

SYNOPSIS

    error = MatchNext(AnchorPath)
    D0                    D1

    LONG MatchNext(struct AnchorPath *)

Links: AnchorPath

FUNCTION

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.

INPUTS

AnchorPath - Place holder for search. MUST be longword aligned!

RESULT error - 0 for success or error code. (Opposite of most Dos calls)

BUGS See MatchFirst.

SEE ALSO

MatchFirst, ParsePattern, Examine, CurrentDir, Examine, MatchEnd, ExNext, <dos/dosasl.h>