From a9f95b769efe4fa4d4dc4a01b5bbfc4e3571a389 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Tue, 4 Oct 2022 16:47:24 -0700 Subject: [libc] add strerror_r function I've implemente the gnu variant of strerror_r since that seems to be the one more relevant to what we're trying to do. Differential Revision: https://reviews.llvm.org/D135227 --- libc/config/linux/x86_64/entrypoints.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/config/linux/x86_64') diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt index e30990946d43..5ed5f0cd9747 100644 --- a/libc/config/linux/x86_64/entrypoints.txt +++ b/libc/config/linux/x86_64/entrypoints.txt @@ -44,6 +44,8 @@ set(TARGET_LIBC_ENTRYPOINTS libc.src.string.strcmp libc.src.string.strcpy libc.src.string.strcspn + libc.src.string.strerror + libc.src.string.strerror_r libc.src.string.strlcat libc.src.string.strlcpy libc.src.string.strlen @@ -61,7 +63,6 @@ set(TARGET_LIBC_ENTRYPOINTS # string.h entrypoints that depend on malloc libc.src.string.strdup libc.src.string.strndup - libc.src.string.strerror # inttypes.h entrypoints libc.src.inttypes.imaxabs -- cgit v1.2.3