blob: c70875be1c1a1ed49164fd7d9b291ffb0fdeccb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*-
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2024 Getz Mikalsen <getz@FreeBSD.org>
*/
#include <string.h>
#undef strcat /* _FORTIFY_SOURCE */
char *
strcat(char * __restrict s, const char * __restrict append)
{
char *save = s;
/* call into SIMD optimized functions */
stpcpy(s + strlen(s), append);
return(save);
}
|