Skip to content

clibs/wildcardcmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wildcardcmp

Simple wildcard string comparison.

API

/**
 * Check if the given `string` matches `pattern`,
 * using `*` as a wildcard.  Will return `1` if
 * the two match.
 */

int
wildcardcmp(const char *pattern, const char *string);

License

MIT