[libc-commits] [PATCH] D84247: [libc] Implement strnlen.

Chris Gyurgyik via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jul 21 09:46:23 PDT 2020


cgyurgyik created this revision.
cgyurgyik added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.

Implementation for strnlen using memchr, with corresponding unit tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84247

Files:
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/string/CMakeLists.txt
  libc/src/string/strnlen.cpp
  libc/src/string/strnlen.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/strnlen_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84247.279561.patch
Type: text/x-patch
Size: 5794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200721/f645d14c/attachment.bin>


More information about the libc-commits mailing list