Add an implementation for memccpy and mempcpy. These functions are
posix extensions for the moment.
Details
Details
- Reviewers
lntue - Commits
- rGdb8a88fef87e: [libc] add memccpy and mempcpy
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D111762
[libc] add memccpy and mempcpy ClosedPublic Authored by michaelrj on Oct 13 2021, 4:04 PM.
Details
Summary Add an implementation for memccpy and mempcpy. These functions are
Diff Detail
Event Timelinemichaelrj marked 4 inline comments as done. Comment Actionsfix memccpy implementation to return correctly This revision is now accepted and ready to land.Oct 14 2021, 4:28 PM Closed by commit rGdb8a88fef87e: [libc] add memccpy and mempcpy (authored by michaelrj). · Explain WhyOct 14 2021, 4:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 379879 libc/config/linux/x86_64/entrypoints.txt
libc/spec/posix.td
libc/src/string/CMakeLists.txt
libc/src/string/memccpy.h
libc/src/string/memccpy.cpp
libc/src/string/mempcpy.h
libc/src/string/mempcpy.cpp
libc/test/src/string/CMakeLists.txt
libc/test/src/string/memccpy_test.cpp
libc/test/src/string/mempcpy_test.cpp
|
dest and src should be void*