FreeBSD/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
/*
 * dt_gmatch() is similar to gmatch(3GEN) and dtrace(7D) globbing, but also
 * implements the behavior that an empty pattern matches any string.
 */
dt_gmatch() is similar to gmatch(3GEN) and dtrace(7D) globbing, but also
implements the behavior that an empty pattern matches any string.
dt_gmatch () is similar to gmatch ( 3GEN ) and dtrace ( 7D ) globbing but also implements the behavior that an empty pattern matches any string .
int
dt_gmatch(const char *s, const char *p)
{
	return (p == NULL || *p == '\0' || gmatch(s, p));
}
int dt_gmatch ( const char * s , const char * p ) { return ( p == NULL || * p == ' \0 ' || gmatch ( s , p ) ) ; }
dt_gmatch() is similar to gmatch(3GEN) and dtrace(7D) globbing, but also
 implements the behavior that an empty pattern matches any string.
dt_gmatch () is similar to gmatch ( 3GEN ) and dtrace ( 7D ) globbing but also implements the behavior that an empty pattern matches any string .