Matches a string to a pattern.
#include <unixlib.h>
int decc$match_wild (char *test_string, char
*string_pattern);
| 1 (TRUE) | The string matches the pattern. |
| 0 (FALSE) | The string does not match the pattern. |
#include <unixlib.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
if ( decc$match_wild( argv[1], argv[2] ) )
printf( "\n%s matches %s", argv[1], argv[2] );
else
printf( "\n%s does not match %s", argv[1], argv[2] );
}