Introduce strchrnul implementation and unit tests.
Ticket: https://fxbug.dev/124219
Paths
| Differential D147346
[libc] Add strchrnul implementation ClosedPublic Authored by Caslyn on Mar 31 2023, 11:33 AM.
Details
Summary Introduce strchrnul implementation and unit tests. Ticket: https://fxbug.dev/124219
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 31 2023, 11:33 AM Comment Actions Mostly LGTM with minor changes.
Comment Actions LGTM after addressing the last comment.
This revision is now accepted and ready to land.Mar 31 2023, 3:59 PM Comment Actions
Closed by commit rGbc2b1614081c: [libc] Add strchrnul implementation (authored by Caslyn, committed by haowei). · Explain WhyApr 3 2023, 11:08 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 510563 libc/config/baremetal/arm/entrypoints.txt
libc/config/darwin/arm/entrypoints.txt
libc/config/darwin/x86_64/entrypoints.txt
libc/config/gpu/entrypoints.txt
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/arm/entrypoints.txt
libc/config/linux/riscv64/entrypoints.txt
libc/config/linux/x86_64/entrypoints.txt
libc/config/windows/entrypoints.txt
libc/spec/gnu_ext.td
libc/src/string/CMakeLists.txt
libc/src/string/strchrnul.h
libc/src/string/strchrnul.cpp
libc/test/src/string/CMakeLists.txt
libc/test/src/string/strchr_test.cpp
libc/test/src/string/strchrnul_test.cpp
|
this second ArgSpec should be IntType