[libc] Add strlcpy
authorAlex Brachet <abrachet@google.com>
Wed, 18 May 2022 17:45:05 +0000 (17:45 +0000)
committerAlex Brachet <abrachet@google.com>
Wed, 18 May 2022 17:45:05 +0000 (17:45 +0000)
commitfc2c8b2371d7c3ef7c0ed348598abadcfdfcd467
tree69916d88a7c1ec95fb32f5eff4361d08fa1bc12b
parent924defada9bc0e3c89b0c0e288d7cb4dd654e7d4
[libc] Add strlcpy

Differential Revision: https://reviews.llvm.org/D125806
libc/config/darwin/arm/entrypoints.txt
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/config/windows/entrypoints.txt
libc/spec/bsd_ext.td [new file with mode: 0644]
libc/src/string/CMakeLists.txt
libc/src/string/strlcpy.cpp [new file with mode: 0644]
libc/src/string/strlcpy.h [new file with mode: 0644]
libc/test/src/string/CMakeLists.txt
libc/test/src/string/strlcpy_test.cpp [new file with mode: 0644]