[libc-commits] [PATCH] D111762: [libc] add memccpy and mempcpy

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Oct 13 16:04:40 PDT 2021


michaelrj created this revision.
michaelrj added a reviewer: lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
michaelrj requested review of this revision.

Add an implementation for memccpy and mempcpy. These functions are
posix extensions for the moment.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111762

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/posix.td
  libc/src/string/CMakeLists.txt
  libc/src/string/memccpy.cpp
  libc/src/string/memccpy.h
  libc/src/string/mempcpy.cpp
  libc/src/string/mempcpy.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/memccpy_test.cpp
  libc/test/src/string/mempcpy_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111762.379542.patch
Type: text/x-patch
Size: 10439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211013/8364179f/attachment.bin>


More information about the libc-commits mailing list