m_setpat
This call builds the MATCH structure used for searching for files with the m_match function.
- Syntax: int far m_setpat(MATCH far *matchp, char far *bp, int len, int sys)
- Parameters: MATCH far *matchp - Pointer to the MATCH structure
char far *bp - Pattern to match, including path information
int len - Length of bp
int sys - If sys is non-zero, the path information is built from the
system directory.
- Returns: 0 - if successful
Any other value indicates an error condition.
- Related Calls: m_match