MCPcopy Create free account
hub / github.com/F-Stack/f-stack / isanyarg

Function isanyarg

tools/ifconfig/ifieee80211.c:597–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597static int
598isanyarg(const char *arg)
599{
600 return (strncmp(arg, "-", 1) == 0 ||
601 strncasecmp(arg, "any", 3) == 0 || strncasecmp(arg, "off", 3) == 0);
602}
603
604static void
605set80211ssid(const char *val, int d, int s, const struct afswtch *rafp)

Callers 3

getchannelFunction · 0.85
set80211bssidFunction · 0.85
ifieee80211.cFile · 0.85

Calls 2

strncmpFunction · 0.85
strncasecmpFunction · 0.85

Tested by

no test coverage detected