summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-06-07 16:45:47 -0400
committerJakob Kaivo <jkk@ung.org>2024-06-07 16:45:47 -0400
commit5dd51dfc9b7bac0775927c63544e2e75f03800fe (patch)
treef850d45f3a6cd2c706ca79d1284fc35a13ed7cc1
parent586bba6bccbe04860e731f1e6a25a96e66d7a12a (diff)
return the size of the input string for now
-rw-r--r--src/string/strxfrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strxfrm.c b/src/string/strxfrm.c
index 9d0b5429..696027ce 100644
--- a/src/string/strxfrm.c
+++ b/src/string/strxfrm.c
@@ -16,7 +16,7 @@ size_t strxfrm(char * restrict s1, const char * restrict s2, size_t n)
ASSERT_NOOVERLAP(s1, n, s2, n);
}
- return 0;
+ return strlen(s2);
}
CHECK_3(size_t, 0, strxfrm, char * restrict, const char * restrict, size_t)