Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 272 Bytes

Readme.md

File metadata and controls

21 lines (14 loc) · 272 Bytes

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