From 3d878bfc3ed733ca3b29ecc2ff50a96dfb47ca06 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 30 Dec 2023 23:22:59 +0100 Subject: string: stpecpy -> string_append --- src/string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index f2010c6..b610e2f 100644 --- a/src/string.c +++ b/src/string.c @@ -12,9 +12,9 @@ #include #include -/* This is not provided by glibc; however, it does provide a possible - * implementation in string_copying(7), which I copied from. */ -char *stpecpy(char *dst, char *end, const char *src) +/* glibc calls this stpecpy; it's not provided by glibc; however, it does + * provide a possible implementation in string_copying(7), which I copied from. */ +char *string_append(char *dst, char *end, const char *src) { if (!dst) return NULL; -- cgit v1.3