Text File | 1994-09-04 | 501 b | 25 lines | [TEXT/ttxt]
12 Callbacks - Misc
===================
These are general service routines available to nShell commands.
NSH_match
---------
int NSH_match(Str255 pattern, Str255 target);
PARAMETERS
Str255 pattern address of a pattern string
Str255 target address of a string to be compared against.
RETURNS
0 match
1 no match
others error
PROCESS
This routine compares two strings using nShell wildcard rules. See Ch. 6, "Wildcards", of the nShell User's Guide for a description of the pattern rules.