| 385 | |
| 386 | # if __has_builtin(__builtin_strncmp) |
| 387 | builtin_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) |
no outgoing calls
no test coverage detected