Skip to main content

fnmatch

Function fnmatch 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn fnmatch( pattern: *const c_char, input: *const c_char, flags: c_int, ) -> c_int
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fnmatch.html.

Checks the input string to see if it matches pattern.

ยงSafety

The input and pattern parameters must be non-null and properly aligned.