[libc][bazel overlay] Add a target for strncpy.

This commit is contained in:
Siva Chandra Reddy 2022-02-02 20:18:52 +00:00
parent 8a1dfbc4d8
commit e07100002e
1 changed files with 9 additions and 0 deletions

View File

@ -819,6 +819,15 @@ libc_function(
],
)
libc_function(
name = "strncpy",
srcs = ["src/string/strncpy.cpp"],
hdrs = ["src/string/strncpy.h"],
deps = [
":__support_common",
],
)
libc_function(
name = "strcmp",
srcs = ["src/string/strcmp.cpp"],