MCPcopy Create free account
hub / github.com/apache/nuttx / strncmp

Function strncmp

include/string.h:387–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385
386# if __has_builtin(__builtin_strncmp)
387builtin_function(strncmp) int strncmp(FAR const char *s1,
388 FAR const char *s2, size_t n)
389{
390 if (__builtin_constant_p(s1) && __builtin_constant_p(s2))
391 {
392 return __builtin_strncmp(s1, s2, n);
393 }
394 else
395 {
396 return __orig_strncmp(s1, s2, n);
397 }
398}
399# endif
400
401# if __has_builtin(__builtin_strncpy)

Callers 15

get_wpa_stateFunction · 0.50
wifidriver_get_countryFunction · 0.50
scan_complete_indicateFunction · 0.50
esp_wifi_sta_countryFunction · 0.50
esp_wifi_sta_countryFunction · 0.50
esp_wifi_countryFunction · 0.50
ipl2_mainFunction · 0.50
phyplus_parse_gpio_paramFunction · 0.50
amebaz_wl_set_countryFunction · 0.50
search_entryFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected