Implementation for strnlen using memchr, with corresponding unit tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you also add the entries in config/spec/posix.td and config/linux/api.td files?
libc/src/string/strnlen.h | ||
---|---|---|
2 | Clang format messed it up this way. Also in the .cpp fle. |
Comment Actions
Please check if integration tests are OK (you need to run them without ASAN.) So, OK to land if integration tests are OK.
Clang format messed it up this way. Also in the .cpp fle.