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

Function strlen

include/string.h:357–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355
356# if __has_builtin(__builtin_strlen)
357builtin_function(strlen) size_t strlen(FAR const char *s)
358{
359 if (__builtin_constant_p(s))
360 {
361 return __builtin_strlen(s);
362 }
363 else
364 {
365 return __orig_strlen(s);
366 }
367}
368# endif
369
370# if __has_builtin(__builtin_strncat)

Callers 15

strcatFunction · 0.70
strcpyFunction · 0.70
stpcpyFunction · 0.70
utf8_escapeFunction · 0.50
utf8_unescapeFunction · 0.50
get_bss_infoFunction · 0.50
get_scan_resultsFunction · 0.50
get_wpa_stateFunction · 0.50
get_wpa_ssidFunction · 0.50
sg2000_copy_ramdiskFunction · 0.50
eic7700x_copy_ramdiskFunction · 0.50

Calls

no outgoing calls

Tested by 1

notefile_registerFunction · 0.40